Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing logging error when adding/remove switches.

  • Loading branch information...
commit 8bb05dcc483ef6a606143cd0f8725fdad511e2bd 1 parent 3be5c38
@mscheibe mscheibe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gargoyle/nexus_modules.py
View
2  gargoyle/nexus_modules.py
@@ -143,7 +143,7 @@ def add(self, request):
raise GargoyleException("Switch with key %s already exists" % key)
logger.info('Switch %r added (%%s)' % switch.key,
- ', '.join('%s=%r' % (k, getattr(switch, k)) for k, v in sorted('key', 'label', 'description')))
+ ', '.join('%s=%r' % (k, getattr(switch, k)) for k in sorted(('key', 'label', 'description', ))))
signals.switch_added.send(
sender=self,
Please sign in to comment.
Something went wrong with that request. Please try again.