Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Deal with empty privilege strings. Fixes #125.

  • Loading branch information...
commit 0133f3bc522890e0564d27de6791824acb4d2773 1 parent 8368949
@jmafc jmafc authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 pyrseas/dbobject/__init__.py
View
4 pyrseas/dbobject/__init__.py
@@ -302,7 +302,9 @@ def map_privs(self):
"""
privlist = []
for prv in self.privileges:
- privlist.append(privileges_to_map(prv, self.allprivs, self.owner))
+ if prv:
+ privlist.append(privileges_to_map(prv, self.allprivs,
+ self.owner))
return privlist
def _comment_text(self):
Please sign in to comment.
Something went wrong with that request. Please try again.