mirror of https://github.com/borgbackup/borg.git
Style fix in added code
PEP8 says to prefer "is not None"
This commit is contained in:
parent
3321a887d3
commit
d83b919d52
|
@ -478,7 +478,7 @@ class LoggedIO(object):
|
|||
|
||||
def delete_segment(self, segment):
|
||||
fd = self.fds.pop(segment)
|
||||
if fd != None:
|
||||
if fd is not None:
|
||||
fd.close()
|
||||
try:
|
||||
os.unlink(self.segment_filename(segment))
|
||||
|
|
Loading…
Reference in New Issue