commit | 4b68fad9d427a05c74289e5fca57fa7659288016 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 23:17:25 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 23:17:25 2013 -0400 |
tree | a8a23047e24cfa952527f8a8f4cc8f77cc0eaf90 | |
parent | fbf287cc59c2e13734432420f35792c7daa357d5 [diff] |
fix UnboundLocalError
diff --git a/plstackapi/core/api/slices.py b/plstackapi/core/api/slices.py index 7ebeb1e..4bcd6af 100644 --- a/plstackapi/core/api/slices.py +++ b/plstackapi/core/api/slices.py
@@ -34,7 +34,7 @@ if sites: site = sites[0] if not site: - raise Exception, "No such site: %s" % login_base + raise Exception, "No such site: %s" % fields return site def add_slice(auth, fields):