~sil2100/cupstream2distro/skip_all_projects

« back to all changes in this revision

Viewing changes to cupstream2distro/stacks.py

  • Committer: Didier Roche
  • Date: 2013-07-05 16:43:36 UTC
  • Revision ID: didier.roche@canonical.com-20130705164336-wk2m78bbxfrnppyh
change get_stack_packaging_change_status to latest API

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
def get_stack_packaging_change_status(source_version_list):
203
203
    '''Return global package change status list
204
204
 
205
 
    source_version_list is a list of couples (source, version)'''
 
205
    # FIXME: added too many infos now, should only be: (source, version)
 
206
    source_version_list is a list of couples (source, version, tip_rev, target_branch)'''
206
207
 
207
208
    packaging_change_status = []
208
 
    for (source, version) in source_version_list:
 
209
    for (source, version, tip_rev, target_branch) in source_version_list:
209
210
        if os.path.exists(get_packaging_diff_filename(source, version)):
210
211
            message = "Packaging change for {} ({}).".format(source, version)
211
212
            logging.warning(message)