mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- fix write_conflictlist function
This commit is contained in:
parent
f15d1dd57e
commit
fd41f0b236
@ -808,7 +808,10 @@ class Package:
|
||||
|
||||
def write_conflictlist(self):
|
||||
if len(self.in_conflict) == 0:
|
||||
os.unlink(os.path.join(self.storedir, '_in_conflict'))
|
||||
try:
|
||||
os.unlink(os.path.join(self.storedir, '_in_conflict'))
|
||||
except:
|
||||
pass
|
||||
else:
|
||||
fname = os.path.join(self.storedir, '_in_conflict')
|
||||
f = open(fname, 'w')
|
||||
|
Loading…
Reference in New Issue
Block a user