summaryrefslogtreecommitdiff
path: root/ishtar_common/utils_secretary.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/utils_secretary.py')
-rw-r--r--ishtar_common/utils_secretary.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ishtar_common/utils_secretary.py b/ishtar_common/utils_secretary.py
index 9100dac15..062b43913 100644
--- a/ishtar_common/utils_secretary.py
+++ b/ishtar_common/utils_secretary.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-
from secretary import Renderer, parseString
from xml.parsers.expat import ExpatError, ErrorString
@@ -142,7 +141,7 @@ class IshtarSecretaryRenderer(Renderer):
return final_xml
except ExpatError as e:
- if not "result" in locals():
+ if "result" not in locals():
result = xml_source
### changes
try: