mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-03 18:16:17 +01:00
- fixed #99 ("do_package_tracking = 0")
This commit is contained in:
parent
2f14cedcff
commit
e44a452d3e
@ -579,8 +579,6 @@ class Project:
|
||||
"""
|
||||
|
||||
REQ_STOREFILES = ('_project', '_apiurl')
|
||||
if conf.config['do_package_tracking']:
|
||||
REQ_STOREFILES += ('_packages',)
|
||||
|
||||
def __init__(self, dir, getPackageList=True, progress_obj=None, wc_check=True):
|
||||
"""
|
||||
@ -641,7 +639,10 @@ class Project:
|
||||
def wc_check(self):
|
||||
global store
|
||||
dirty_files = []
|
||||
for fname in Project.REQ_STOREFILES:
|
||||
req_storefiles = Project.REQ_STOREFILES
|
||||
if conf.config['do_package_tracking']:
|
||||
req_storefiles += ('_packages',)
|
||||
for fname in req_storefiles:
|
||||
if not os.path.exists(os.path.join(self.absdir, store, fname)):
|
||||
dirty_files.append(fname)
|
||||
return dirty_files
|
||||
|
Loading…
Reference in New Issue
Block a user