Merge lp:~maxb/hydrazine/delete-unused-code into lp:hydrazine

Proposed by Max Bowsher
Status: Merged
Merged at revision: 104
Proposed branch: lp:~maxb/hydrazine/delete-unused-code
Merge into: lp:hydrazine
Diff against target: 65 lines (+0/-15)
4 files modified
bugclient (+0/-1)
capture-bug-counts (+0/-3)
hydrazine/__init__.py (+0/-2)
lp-promote-ppa (+0/-9)
To merge this branch: bzr merge lp:~maxb/hydrazine/delete-unused-code
Reviewer Review Type Date Requested Status
Martin Pool Approve
Review via email: mp+155118@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Martin Pool (mbp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bugclient'
2--- bugclient 2012-07-16 14:04:38 +0000
3+++ bugclient 2013-03-23 22:51:20 +0000
4@@ -10,7 +10,6 @@
5 import optparse
6 import os
7 import re
8-import subprocess
9 import sys
10 import webbrowser
11
12
13=== modified file 'capture-bug-counts'
14--- capture-bug-counts 2010-12-02 00:04:34 +0000
15+++ capture-bug-counts 2013-03-23 22:51:20 +0000
16@@ -1,8 +1,5 @@
17 #! /usr/bin/python
18
19-import collections
20-import os.path
21-import subprocess
22 import sys
23
24 import hydrazine
25
26=== modified file 'hydrazine/__init__.py'
27--- hydrazine/__init__.py 2011-10-09 00:13:06 +0000
28+++ hydrazine/__init__.py 2013-03-23 22:51:20 +0000
29@@ -4,8 +4,6 @@
30 import sys
31
32
33-from launchpadlib.credentials import Credentials
34-
35 from launchpadlib.launchpad import (
36 Launchpad,
37 )
38
39=== modified file 'lp-promote-ppa'
40--- lp-promote-ppa 2010-11-12 01:06:04 +0000
41+++ lp-promote-ppa 2013-03-23 22:51:20 +0000
42@@ -9,12 +9,7 @@
43 another, only if the destination does not already contain the same or greater
44 version."""
45
46-import itertools
47 import optparse
48-import os
49-import sys
50-import time
51-import urllib2
52
53 import apt_pkg; apt_pkg.init()
54
55@@ -56,10 +51,6 @@
56
57 print "Querying destination PPA..."
58 to_archive = lp.people[to_team].getPPAByName(name=to_ppa)
59- dest_sources = list(itertools.chain(
60- to_archive.getPublishedSources(status="Published"),
61- to_archive.getPublishedSources(status="Pending"),
62- ))
63 dest_sources = []
64 for kwargs in filter_kwargs:
65 dest_sources.extend(to_archive.getPublishedSources(status="Published", **kwargs))

Subscribers

People subscribed via source and target branches

to all changes: