diff --git a/qubespolicy/__init__.py b/qubespolicy/__init__.py index b44fd434..3473bfc9 100755 --- a/qubespolicy/__init__.py +++ b/qubespolicy/__init__.py @@ -129,7 +129,7 @@ class PolicyRule(object): except ValueError: raise PolicySyntaxError(filename, lineno, 'wrong number of fields') - (action, *params) = self.full_action.replace(' ', '').split(',') + (action, *params) = self.full_action.replace(',', ' ').split() try: self.action = Action[action] except KeyError: