diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-09-04 15:13:55 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-09-04 15:13:55 +0200 |
commit | e1115782a728a7e895e934e53d4d7067e2533b31 (patch) | |
tree | d2d77a42ea34117879e60884c9fa0ecd79c92393 /format.py | |
parent | 6fee7dcd36be6632ef2585397a4412f3af9d5c9c (diff) | |
download | clufter-e1115782a728a7e895e934e53d4d7067e2533b31.tar.gz clufter-e1115782a728a7e895e934e53d4d7067e2533b31.tar.xz clufter-e1115782a728a7e895e934e53d4d7067e2533b31.zip |
format: cosmetics
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'format.py')
-rw-r--r-- | format.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -74,7 +74,6 @@ class formats(PluginRegistry): except AttributeError: if not hasattr(obj, '_protocol'): assert attr not in cls._protocols, 'Unexpected override' - pass for protocol in cls._protocols: newspec = specs.get(protocol, None) @@ -588,7 +587,7 @@ class XML(SimpleFormat): """ # XXX holds its private cache under cls._validation_cache assert spec - if not sep in spec: + if sep not in spec: spec = join(root_dir, cls.root, spec) if any(filter(lambda c: c in spec, '?*')): globbed = glob(spec) |