Skip to content

Commit

Permalink
pylint: Unfortunately EXITCODE has to remain global for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Aug 2, 2024
1 parent 31d9189 commit 57cd13a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrepo.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def __repr__(self):

def mirror(self):
"Check URL and pass on to mirror-functions."
global EXITCODE
global EXITCODE # pylint: disable=global-statement

### Make a snapshot of the directory
self.oldlist = self.rpmlist()
Expand Down Expand Up @@ -605,7 +605,7 @@ def unlock(self, action):
))

def createmd(self):
global EXITCODE
global EXITCODE # pylint: disable=global-statement
metadata = ('createrepo', 'repomd')

if not self.changed and not OPTIONS.force:
Expand Down

0 comments on commit 57cd13a

Please sign in to comment.