Rev 1996: (robey) remove hasattr and == None in favor of getattr() and is None in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Sat Sep 9 19:02:01 BST 2006


------------------------------------------------------------
revno: 1996
revision-id: pqm at pqm.ubuntu.com-20060909180200-96e41112dff213f3
parent: pqm at pqm.ubuntu.com-20060909160418-376f106672f0163b
parent: robey at lag.net-20060908185217-6a4406e1d41753f5
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sat 2006-09-09 19:02:00 +0100
message:
  (robey) remove hasattr and == None in favor of getattr() and is None
modified:
  bzrlib/branch.py               branch.py-20050309040759-e4baf4e0d046576e
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
  bzrlib/bundle/bundle_data.py   read_changeset.py-20050619171944-c0d95aa685537640
  bzrlib/bundle/serializer/__init__.py __init__.py-20051118175413-86b97db0b618feef
  bzrlib/bundle/serializer/v08.py v06.py-20051119041339-ee43f97270b01823
  bzrlib/bzrdir.py               bzrdir.py-20060131065624-156dfea39c4387cb
  bzrlib/commands.py             bzr.py-20050309040720-d10f4714595cf8c3
  bzrlib/fetch.py                fetch.py-20050818234941-26fea6105696365d
  bzrlib/help.py                 help.py-20050505025907-4dd7a6d63912f894
  bzrlib/info.py                 info.py-20050323235939-6bbfe7d9700b0b9b
  bzrlib/intset.py               intset.py-20050717175247-81cd658f9aaa2731
  bzrlib/log.py                  log.py-20050505065812-c40ce11702fe5fb1
  bzrlib/lsprof.py               lsprof.py-20051208071030-833790916798ceed
  bzrlib/osutils.py              osutils.py-20050309040759-eeaff12fbf77ac86
  bzrlib/repository.py           rev_storage.py-20051111201905-119e9401e46257e3
  bzrlib/rio.py                  rio.py-20051128032247-770b120b34dfff60
  bzrlib/shellcomplete.py        shellcomplete.py-20050822153127-3be115ff5e70fc39
  bzrlib/status.py               status.py-20050505062338-431bfa63ec9b19e6
  bzrlib/store/__init__.py       store.py-20050309040759-164dc5173d6406c2
  bzrlib/store/text.py           text.py-20050928201105-c26468dcb5d9b18b
  bzrlib/tests/stub_sftp.py      stub_sftp.py-20051027032739-0e7ef4f7bab0e174
  bzrlib/tests/test_bad_files.py test_bad_files.py-20050918155938-c76a2295c8ab9503
  bzrlib/tests/test_hashcache.py testhashcache.py-20050706091800-0288ab2659338981
  bzrlib/tests/test_msgeditor.py test_msgeditor.py-20051202041359-920315ec6011ee51
  bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
  bzrlib/trace.py                trace.py-20050309040759-c8ed824bdcd4748a
  bzrlib/transform.py            transform.py-20060105172343-dd99e54394d91687
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/transport/ftp.py        ftp.py-20051116161804-58dc9506548c2a53
  bzrlib/transport/http/__init__.py http_transport.py-20050711212304-506c5fd1059ace96
  bzrlib/transport/http/_urllib.py _urlgrabber.py-20060113083826-0bbf7d992fbf090c
  bzrlib/transport/sftp.py       sftp.py-20051019050329-ab48ce71b7e32dfe
  bzrlib/tree.py                 tree.py-20050309040759-9d5f2496be663e77
  bzrlib/util/configobj/configobj.py configobj.py-20051018184548-06992a2246425e3e
  bzrlib/util/elementtree/ElementTree.py ElementTree.py-20050323061623-cfa8eefe86f35391
  bzrlib/weavefile.py            weavefile.py-20050629135233-2ffe0200f103f6c2
  bzrlib/workingtree.py          workingtree.py-20050511021032-29b6ec0a681e02e3
  bzrlib/xml4.py                 xml4.py-20050916091259-db5ab55e7e6ca324
  bzrlib/xml5.py                 xml5.py-20050907032657-aac8f960815b66b1
  contrib/newinventory.py        newinventory.py-20050330222648-12642a6a7ae875e9
  setup.py*                      setup.py-20050314065409-02f8a0a6e3f9bc70
  tools/http_client.py           http_client.py-20050819224207-b29be8324c55b359
    ------------------------------------------------------------
    merged: robey at lag.net-20060908185217-6a4406e1d41753f5
    parent: robey at lag.net-20060908184629-e3fc4c61ca21508c
    parent: pqm at pqm.ubuntu.com-20060908003811-74eab872c372a895
    committer: Robey Pointer <robey at lag.net>
    branch nick: bzr.dev.no_has_key
    timestamp: Fri 2006-09-08 11:52:17 -0700
    message:
      merge from bzr.dev
    ------------------------------------------------------------
    merged: robey at lag.net-20060908184629-e3fc4c61ca21508c
    parent: robey at lag.net-20060903002818-71ca5c7bfea93a26
    committer: Robey Pointer <robey at lag.net>
    branch nick: bzr.dev.no_has_key
    timestamp: Fri 2006-09-08 11:46:29 -0700
    message:
      pychecker is on crack; go back to using 'is None'.
    ------------------------------------------------------------
    merged: robey at lag.net-20060903002818-71ca5c7bfea93a26
    parent: robey at lag.net-20060903001354-1f596a529c9c4934
    parent: pqm at pqm.ubuntu.com-20060901173735-543e9acad03760d1
    committer: Robey Pointer <robey at lag.net>
    branch nick: bzr.dev.no_has_key
    timestamp: Sat 2006-09-02 17:28:18 -0700
    message:
      merge from bzr.dev
    ------------------------------------------------------------
    merged: robey at lag.net-20060903001354-1f596a529c9c4934
    parent: robey at lag.net-20060902222155-1d1ed3d3c31120ee
    committer: Robey Pointer <robey at lag.net>
    branch nick: bzr.dev.no_has_key
    timestamp: Sat 2006-09-02 17:13:54 -0700
    message:
      remove usage of hasattr
    ------------------------------------------------------------
    merged: robey at lag.net-20060902222155-1d1ed3d3c31120ee
    parent: robey at lag.net-20060830022017-53f9005cacd0b1e2
    committer: Robey Pointer <robey at lag.net>
    branch nick: bzr.dev.no_has_key
    timestamp: Sat 2006-09-02 15:21:55 -0700
    message:
      be explicit about the deprecation of setup_caching and remove no-op destructor
    ------------------------------------------------------------
    merged: robey at lag.net-20060830022017-53f9005cacd0b1e2
    parent: robey at lag.net-20060829204702-6d40ae7a33ec62c7
    committer: Robey Pointer <robey at lag.net>
    branch nick: bzr.dev.no_has_key
    timestamp: Tue 2006-08-29 19:20:17 -0700
    message:
      make return (x in y) explicit with parens



More information about the bazaar-commits mailing list