diff options
author | Joe Guo <joeg@catalyst.net.nz> | 2018-07-30 18:17:15 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2018-08-24 07:49:27 +0200 |
commit | d9c282a9a599c48bd4c772d80059a364e1d2d61b (patch) | |
tree | 20b0d99f888601d12404c0db09aa5c5dd575cc1a /python | |
parent | ba0827b560c8165bcbb4017a6377778934ad9bb9 (diff) | |
download | samba-d9c282a9a599c48bd4c772d80059a364e1d2d61b.tar.gz |
PEP8: fix E211: whitespace before '('
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/gpclass.py | 3 | ||||
-rw-r--r-- | python/samba/subunit/__init__.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/python/samba/gpclass.py b/python/samba/gpclass.py index 008599bd53f..106bed26cdd 100644 --- a/python/samba/gpclass.py +++ b/python/samba/gpclass.py @@ -224,8 +224,7 @@ class gp_log: for attr in attrs: func = None if attr.attrib['name'] in data_maps[ext.attrib['name']]: - func = data_maps[ext.attrib['name']]\ - [attr.attrib['name']][-1] + func = data_maps[ext.attrib['name']][attr.attrib['name']][-1] else: for dmap in data_maps[ext.attrib['name']].keys(): if data_maps[ext.attrib['name']][dmap][0] == \ diff --git a/python/samba/subunit/__init__.py b/python/samba/subunit/__init__.py index ae208430d16..c6203c30afb 100644 --- a/python/samba/subunit/__init__.py +++ b/python/samba/subunit/__init__.py @@ -45,7 +45,7 @@ class RemotedTestCase(unittest.TestCase): actions. """ - def __eq__ (self, other): + def __eq__(self, other): try: return self.__description == other.__description except AttributeError: |