commit | 31683c80a911b530dc6beadd468d41a8d37e7c65 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Wed Apr 02 15:39:32 2014 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Wed Apr 02 15:39:32 2014 -0400 |
tree | a2d98b7bc05bdd2e274639d08dcaa01041d86838 | |
parent | f77f14015dc30dd02d53d9bcc6682879d513dea6 [diff] |
fix AttributeError
diff --git a/planetstack/core/models/network.py b/planetstack/core/models/network.py index 23ef6ea..320e56b 100644 --- a/planetstack/core/models/network.py +++ b/planetstack/core/models/network.py
@@ -51,7 +51,7 @@ super(Network, self).save(*args, **kwds) def can_update(self, user): - return self.slice.can_update(user) + return self.owner.can_update(user) @staticmethod def select_by_user(user):