~ubuntu-branches/debian/sid/sqlalchemy/sid

« back to all changes in this revision

Viewing changes to lib/sqlalchemy/util/_collections.py

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2014-06-27 20:17:13 UTC
  • mfrom: (1.4.28)
  • Revision ID: package-import@ubuntu.com-20140627201713-g6p1kq8q1qenztrv
Tags: 0.9.6-1
* New upstream release
* Remove Python 3.X build tag files, thanks to Matthias Urlichs for the
  patch (closes: #747852)
* python-fdb isn't in the Debian archive yet so default dialect for firebird://
  URLs is changed to obsolete kinterbasdb, thanks to Russell Stuart for the
  patch (closes: #752145)

Show diffs side-by-side

added added

removed removed

Lines of Context:
859
859
                try:
860
860
                    del self[item[0]]
861
861
                except KeyError:
862
 
                    # if we couldnt find a key, most
 
862
                    # if we couldn't find a key, most
863
863
                    # likely some other thread broke in
864
864
                    # on us. loop around and try again
865
865
                    break
908
908
        return self.scopefunc() in self.registry
909
909
 
910
910
    def set(self, obj):
911
 
        """Set the value forthe current scope."""
 
911
        """Set the value for the current scope."""
912
912
 
913
913
        self.registry[self.scopefunc()] = obj
914
914