Skip to content

Commit

Permalink
fix: overeager cleanup
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rouilj committed Mar 1, 2024
1 parent 171a809 commit 6d5c217
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roundup/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from __future__ import print_function

__docformat__ = 'restructuredtext'

import csv
import getopt
import getpass
Expand Down Expand Up @@ -878,6 +877,7 @@ def do_get(self, args):

# 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))
Expand Down Expand Up @@ -1548,7 +1548,6 @@ def do_pragma(self, args):
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]+)$')
Expand Down

0 comments on commit 6d5c217

Please sign in to comment.