Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-05-26 07:48:18 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-05-26 07:48:18 (GMT)
commit73290ba3d8d692e162ba1ce5fa78f609dd37564b (patch)
tree9db81bffccc19189e241c78d90c2f4c9438a5b8a
parentbcbacf88eb0847085538029452ae0b8e80a77e36 (diff)
Exclude sugar itself from deplist command checks
-rw-r--r--sugar_network/node/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar_network/node/commands.py b/sugar_network/node/commands.py
index 8c69d7b..9a9fc6d 100644
--- a/sugar_network/node/commands.py
+++ b/sugar_network/node/commands.py
@@ -210,6 +210,8 @@ class NodeCommands(db.VolumeCommands, Commands):
result = []
for package in set(next(impls)['spec']['*-*'].get('requires') or []) \
| set(self.volume['context'].get(guid)['dependencies']):
+ if package == 'sugar':
+ continue
dep = self.volume['context'].get(package)
enforce(repo in dep['packages'],
'No packages for %r on %r', package, repo)