Skip to content

Commit

Permalink
checker.py: "More than one statement on a single line"
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
  • Loading branch information
dalgaaf committed May 27, 2013
1 parent 6a6b25f commit a5d14bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osc/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def readkey(self, file):

def check(self, pkg):
# avoid errors on non rpm
if pkg[-4:] != '.rpm': return
if pkg[-4:] != '.rpm':
return
fd = os.open(pkg, os.O_RDONLY)
hdr = self.ts.hdrFromFdno(fd)
os.close(fd)
Expand Down

0 comments on commit a5d14bf

Please sign in to comment.