commit | 7d97f06e4cfdf4249d6384e41208d7bc0ece202a | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 20:25:08 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 20:25:08 2013 -0400 |
tree | 380229e0dccb919fe6782d0d1ce6947786aad7c0 | |
parent | bb1bfc4e81680ff5a8c3b316f9d4d4b1bf9a5c0d [diff] [blame] |
fix TypeError
diff --git a/plstackapi/core/api/users.py b/plstackapi/core/api/users.py index 09384f2..18a68c7 100644 --- a/plstackapi/core/api/users.py +++ b/plstackapi/core/api/users.py
@@ -13,7 +13,7 @@ if sites: site = sites[0] if not site: - raise Exception, "No such site", fields['site'] + raise Exception, "No such site: %s" % fields['site'] return site def add_user(auth, fields):