The Samba-Bugzilla – Attachment 14952 Details for
Bug 13837
Samba 4.9.5 - Error on samba-tool with python 2.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch graph.py to work with ALL pythons
0001-py-graph-use-2.6-compatible-check-for-set-membership.patch (text/plain), 921 bytes, created by
Douglas Bagnall
on 2019-03-19 23:05:09 UTC
(
hide
)
Description:
patch graph.py to work with ALL pythons
Filename:
MIME Type:
Creator:
Douglas Bagnall
Created:
2019-03-19 23:05:09 UTC
Size:
921 bytes
patch
obsolete
>From cdd23df2ff472310ba3b2083ef447866057b06bd Mon Sep 17 00:00:00 2001 >From: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >Date: Wed, 20 Mar 2019 12:02:09 +1300 >Subject: [PATCH] py/graph: use 2.6 compatible check for set membership > >It is better this way anyway. > >Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >--- > python/samba/graph.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/python/samba/graph.py b/python/samba/graph.py >index 0a0aecd6631..c8d5f9230d0 100644 >--- a/python/samba/graph.py >+++ b/python/samba/graph.py >@@ -88,7 +88,7 @@ def shorten_vertex_names(vertices, suffix=',...', aggressive=False): > try: > while True: > c = set(x[i] for x in vlist) >- if len(c) > 1 or c == {'*'}: >+ if len(c) > 1 or '*' in c: > break > i -= 1 > except IndexError: >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13837
:
14952
|
14953
|
14976
|
14983
|
14993
|
14994
|
15002
|
15003
|
15004