Revision: 753
Author: keith.dart
Date: Sat Apr 26 03:35:24 2014 UTC
Log: Fix a bug.
http://code.google.com/p/pycopia/source/detail?r=753
Modified:
/trunk/QA/pycopia/QA/config.py
=======================================
--- /trunk/QA/pycopia/QA/config.py Wed Jan 16 22:10:50 2013 UTC
+++ /trunk/QA/pycopia/QA/config.py Sat Apr 26 03:35:24 2014 UTC
@@ -1,7 +1,7 @@
#!/usr/bin/python2.7
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
#
-# Copyright (C) 2012 Keith Dart <
ke...@kdart.com>
+# Copyright (C) 2012- Keith Dart <
ke...@kdart.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -338,7 +338,7 @@
try:
acct =
db.query(models.LoginAccount).filter(models.LoginAccount.identifier==identifier).one()
except config.NoResultFound as err:
- raise config.ConfigError("Bad account identifier %r: %s" %
(name, err))
+ raise config.ConfigError("Bad account identifier %r: %s" %
(identifier, err))
return acct.login, acct.password
def get_equipment(self, name):