Skip to content

Commit

Permalink
fixup qa suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
srunde3 committed Jun 17, 2024
1 parent 824e240 commit 29bf005
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
_trial_temp
.coverage
coverage/
docs/api
build
build-stamp
Expand Down
4 changes: 3 additions & 1 deletion landscape/client/monitor/computertags.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ class ComputerTags(DataWatcher):
run_interval = 3600 # Every hour only when data changed
run_immediately = True

def __init__(self, args=sys.argv): # //TICS !W0102: mutable arg is OK
def __init__(self, args=None):
super().__init__()
if args is None:
args = sys.argv
self.args = args # Defined to specify args in unit tests

def get_data(self):
Expand Down

0 comments on commit 29bf005

Please sign in to comment.