mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-24 22:06:14 +01:00
partial fix for bnc#551147
This commit is contained in:
parent
09a01158de
commit
4d0db61e12
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
||||
- partial fix for bnc#551147
|
||||
|
||||
0.124
|
||||
- added 'osc bugowner' as a more intelligent version of 'osc maintainer -B'
|
||||
- added option '-B' to osc maintainer, prints bugowner OR maintainer.
|
||||
|
@ -403,8 +403,9 @@ class Project:
|
||||
ET.SubElement(self.pac_root, 'package', name=name, state=state)
|
||||
|
||||
def read_packages(self):
|
||||
if os.path.isfile(os.path.join(self.absdir, store, '_packages')):
|
||||
return ET.parse(os.path.join(self.absdir, store, '_packages'))
|
||||
packages_file = os.path.join(self.absdir, store, '_packages')
|
||||
if os.path.isfile(packages_file) and os.path.getsize(packages_file):
|
||||
return ET.parse(packages_file)
|
||||
else:
|
||||
# scan project for existing packages and migrate them
|
||||
cur_pacs = []
|
||||
|
Loading…
Reference in New Issue
Block a user