Merge lp://qastaging/~manishsinha/software-properties/add-update-after-repo-add into lp://qastaging/software-properties

Status: Needs review
Proposed branch: lp://qastaging/~manishsinha/software-properties/add-update-after-repo-add
Merge into: lp://qastaging/software-properties
Diff against target: 53 lines (+25/-0)
1 file modified
add-apt-repository (+25/-0)
To merge this branch: bzr merge lp://qastaging/~manishsinha/software-properties/add-update-after-repo-add
Reviewer Review Type Date Requested Status
Michael Terry Needs Fixing
Review via email: mp+150185@code.qastaging.launchpad.net

Commit message

Adds a new option -u/--update for updating the source list after a PPA has been added via apt-add-repository

Description of the change

Adds a new option -u/--update for updating the source list after a PPA has been added via apt-add-repository

To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

44 + print("YAY")

Should be dropped.

52 - sp.sourceslist.save()
53 + if options.assume_update:
54 + sp.sourceslist.save()

Why does the save move inside the if? It seems like without the -u, you should still save.

review: Needs Fixing
835. By Manish Sinha (मनीष सिन्हा)

Move sp.sourceslist.save() above options.assume_update

836. By Manish Sinha (मनीष सिन्हा)

The save should be intended 4 chars left else it will never be executed

837. By Manish Sinha (मनीष सिन्हा)

Remove YAY print line

Unmerged revisions

837. By Manish Sinha (मनीष सिन्हा)

Remove YAY print line

836. By Manish Sinha (मनीष सिन्हा)

The save should be intended 4 chars left else it will never be executed

835. By Manish Sinha (मनीष सिन्हा)

Move sp.sourceslist.save() above options.assume_update

834. By Manish Sinha (मनीष सिन्हा)

Adds a new option -u/--update for updating the source list after a PPA has been added via apt-add-repository

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.