Mercurial > p > roundup > code
diff roundup/admin.py @ 7754:09b216591db5
fix: overeager cleanup
I was cleaning some dregs and removed a required line after I
completed testing 8-(.
Added a 'make check' that runs ruff with the test that finds the
undefined variable.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 01 Mar 2024 15:13:36 -0500 |
| parents | b2dbab2b34bc |
| children | 417c8ddc98ac |
line wrap: on
line diff
--- a/roundup/admin.py Fri Mar 01 15:08:42 2024 -0500 +++ b/roundup/admin.py Fri Mar 01 15:13:36 2024 -0500 @@ -22,7 +22,6 @@ from __future__ import print_function __docformat__ = 'restructuredtext' - import csv import getopt import getpass @@ -878,6 +877,7 @@ # get the class cl = self.get_class(classname) + prop_obj = properties[propname] try: if not (self.separator or self.print_designator): print(cl.get(nodeid, propname)) @@ -1548,7 +1548,6 @@ raise UsageError(_('Internal error: pragma can not handle ' 'values of type: %s') % type(self.settings[setting]).__name__) - self.settings[setting] = value designator_re = re.compile('([A-Za-z]+)([0-9]+)$')
