diff options
author | Tim Potter <tpot@samba.org> | 2008-01-06 23:42:46 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-06 17:48:02 -0600 |
commit | 4e6dcc73b26f8ba1804ff504bc8c60d94bb7ed3d (patch) | |
tree | 160481182842cd91a031f2ca03068186f4ecad56 /source4/lib/tdb/tdb.py | |
parent | e45c7ffb800448c41ee0fd69e6ebd87446b116e5 (diff) | |
download | samba-4e6dcc73b26f8ba1804ff504bc8c60d94bb7ed3d.tar.gz samba-4e6dcc73b26f8ba1804ff504bc8c60d94bb7ed3d.tar.bz2 samba-4e6dcc73b26f8ba1804ff504bc8c60d94bb7ed3d.zip |
r26678: Check in auto-generated swig files.
(This used to be commit 62017f049bc0b0f311ba49d03084044faa5e6dcd)
Diffstat (limited to 'source4/lib/tdb/tdb.py')
-rw-r--r-- | source4/lib/tdb/tdb.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source4/lib/tdb/tdb.py b/source4/lib/tdb/tdb.py index f5c21e4391..0a803ac0ba 100644 --- a/source4/lib/tdb/tdb.py +++ b/source4/lib/tdb/tdb.py @@ -1,5 +1,5 @@ # This file was automatically generated by SWIG (http://www.swig.org). -# Version 1.3.33 +# Version 1.3.31 # # Don't modify this file, modify the SWIG interface instead. @@ -164,7 +164,17 @@ class tdb(object): for k in iter(self): del(self[k]) + def iterkeys(self): + for k in iter(self): + yield k + + def itervalues(self): + for k in iter(self): + yield self[k] + def iteritems(self): + for k in iter(self): + yield (k, self[k]) |