Skip to content

Commit

Permalink
fix pylint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Feb 6, 2024
1 parent a379537 commit 035790b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/python/Utils/FileTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import io
import os
import glob
import stat
import subprocess
import time
Expand Down Expand Up @@ -39,7 +40,7 @@ def tarMode(tfile, opMode):
"""
ext = tfile.split(".")[-1]
if ext == 'tar':
return op
return opMode
mode = opMode + ':' + ext
return mode

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"""

import os
import glob
import json
import logging
import tarfile
Expand Down Expand Up @@ -274,7 +273,7 @@ def algorithm(self, parameters=None):

# loop over existing pileup names and
# find the json files in the spec/sandbox area and tweak them
adjustJSONSpec(msPileupList)
self.adjustJSONSpec(msPileupList)
except Exception as ex:
msg = f"Caught unexpected exception in WorkflowUpdater. Details:\n{str(ex)}"
logging.exception(msg)
Expand Down

0 comments on commit 035790b

Please sign in to comment.