commit | 1ae3cd13a1880a560975e0a294adbdf2592d8ca5 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 11:12:23 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 11:12:23 2013 -0400 |
tree | f3d09055e6fdc00fd9ca8eb14529d620e2cd2221 | |
parent | f423f555e9267e04149e255290dd00a381dcb9ea [diff] [blame] |
fix bugs
diff --git a/plstackapi/planetstack/api/sites.py b/plstackapi/planetstack/api/sites.py index cbdc136..b9899a7 100644 --- a/plstackapi/planetstack/api/sites.py +++ b/plstackapi/planetstack/api/sites.py
@@ -15,9 +15,9 @@ site.save() return site -def update_site(auth, login_base, **fields): +def update_site(auth, id, **fields): driver = OpenStackDriver(client = auth_check(auth)) - sites = Site.objects.filter(login_base=login_base) + sites = Site.objects.filter(id=id) if not sites: return