src/modules/actions/generic.py
changeset 2685 707707aba792
parent 2639 06a370373267
child 2690 11a8cae074e0
--- a/src/modules/actions/generic.py	Wed Jun 06 16:52:57 2012 -0700
+++ b/src/modules/actions/generic.py	Wed Jun 06 18:11:11 2012 -0700
@@ -257,7 +257,8 @@
                 try:
                         h = self.hash
                         if h:
-                                if "=" not in h:
+                                if "=" not in h and " " not in h and \
+                                    '"' not in h:
                                         out += " " + h
                                 else:
                                         sattrs.append("hash")
@@ -892,7 +893,7 @@
                 try:
                         value = self.attrs[name]
                 except KeyError:
-                        return [] 
+                        return []
                 if type(value) is not list:
                         return [value]
                 return value