summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tdb.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-20 08:27:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-20 08:27:08 +1000
commit28b2fa86239b96eae73cd9199ae678391f6d4012 (patch)
tree24916fd790f60d579af71d7b5b63134ddb45b7db /source4/lib/tdb/tdb.py
parent868c45102d98f4207e614d79af2f37dbb0418203 (diff)
parent1b4b8d5e78e553c759c16c1605b610498fddf77b (diff)
downloadsamba-28b2fa86239b96eae73cd9199ae678391f6d4012.tar.gz
samba-28b2fa86239b96eae73cd9199ae678391f6d4012.tar.bz2
samba-28b2fa86239b96eae73cd9199ae678391f6d4012.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 69bac908bec3216d2f17042aa05ab8d4b55b0918)
Diffstat (limited to 'source4/lib/tdb/tdb.py')
-rw-r--r--source4/lib/tdb/tdb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/tdb/tdb.py b/source4/lib/tdb/tdb.py
index 0effa3ff98..eb76ca6459 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.35
#
# Don't modify this file, modify the SWIG interface instead.
@@ -80,11 +80,11 @@ TDB_ERR_EINVAL = _tdb.TDB_ERR_EINVAL
TDB_ERR_RDONLY = _tdb.TDB_ERR_RDONLY
class tdb(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
- def __init__(self): raise AttributeError, "No constructor defined"
+ def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
__swig_destroy__ = _tdb.delete_tdb
- def __str__(self):
- return self.name()
+ def __repr__(self):
+ return "Tdb('%s')" % self.name()
def __getitem__(self, key):