Merge lp:~brian.curtin/ubuntu-sso-client/remove-SyncTimestampChecker into lp:ubuntu-sso-client
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Alejandro J. Cura on 2012-08-14 | ||||
| Approved revision: | 997 | ||||
| Merged at revision: | 991 | ||||
| Proposed branch: | lp:~brian.curtin/ubuntu-sso-client/remove-SyncTimestampChecker | ||||
| Merge into: | lp:ubuntu-sso-client | ||||
| Diff against target: |
360 lines (+8/-277) 3 files modified
ubuntu_sso/tests/test_account.py (+8/-2) ubuntu_sso/utils/__init__.py (+0/-104) ubuntu_sso/utils/tests/test_common.py (+0/-171) |
||||
| To merge this branch: | bzr merge lp:~brian.curtin/ubuntu-sso-client/remove-SyncTimestampChecker | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alejandro J. Cura (community) | 2012-08-08 | Approve on 2012-08-14 | |
| Mike McCracken (community) | Approve on 2012-08-14 | ||
|
Review via email:
|
|||
Commit Message
- Remove SyncTimestampCh
Description of the Change
While discussing issues holding back a Python 3 branch, it was found that SyncTimestampCh
- 991. By Brian Curtin on 2012-08-08
-
Remove unused code and imports
- 992. By Brian Curtin on 2012-08-08
-
Remove unused imports
- 993. By Brian Curtin on 2012-08-08
-
Patch the urlopen function from within urllib2/
urllib. request itself, rather than depending on it having been imported in utils
| Brian Curtin (brian.curtin) wrote : | # |
The above three changes should have this taken care of. I removed a bunch of unused imports from the code and tests, and then changed the way another test was depending on a now removed import.
Note: none of those unused imports were showing up in my lint warnings, so if you find anymore, please let me know where they are.
- 994. By Brian Curtin on 2012-08-09
-
Removed unused time import
- 995. By Brian Curtin on 2012-08-09
-
Fix redefined name warnings, unused utils import
| Alejandro J. Cura (alecu) wrote : | # |
Pylint keeps complaining like this:
ubuntu_
40: [F0401] Unable to import 'urllib.request'
40: [E0611] No name 'request' in module 'urllib'
107: [W0621, FakeWebClient.
220: [W0621, AccountTestCase
- 996. By Brian Curtin on 2012-08-14
-
Add lint warning disable/enable pairs
- 997. By Brian Curtin on 2012-08-14
-
Rename import so it doesn't cause redefinition collisions
| Mike McCracken (mikemc) wrote : | # |
+1 - tests pass, and after some diffing and futzing with pyflakes and pylint I determined that this branch doesn't add any pyflakes complaints that weren't in trunk, and we don't care about pylint anymore.
| Alejandro J. Cura (alecu) wrote : | # |
> +1 - tests pass, and after some diffing and futzing with pyflakes and pylint I
> determined that this branch doesn't add any pyflakes complaints that weren't
> in trunk, and we don't care about pylint anymore.
@mmcc: afaict, we still use pylint in this project; though we do use pyflakes elsewhere.

The branch looks very good.
Please remove also the associated imports used in this code.