[[[
Index: subversion/bindings/swig/python/svn/fs.py
===================================================================
--- subversion/bindings/swig/python/svn/fs.py (revision 1301511)
+++ subversion/bindings/swig/python/svn/fs.py (working copy)
@@ -27,6 +27,7 @@ from libsvn.fs import *
from svn.core import _unprefix_names, Pool
_unprefix_names(locals(), 'svn_fs_')
_unprefix_names(locals(), 'SVN_FS_')
+__all__ = filter(lambda x: x.lower().startswith('svn_'), locals().keys())
del _unprefix_names
]]]
Before:
% python -c 'from svn.fs import *;
print [x for x in locals().keys() if "begin_txn2" in x]'
['svn_fs_begin_txn2', 'begin_txn2']
After:
% python -c 'from svn.fs import *;
print [x for x in locals().keys() if "begin_txn2" in x]'
['svn_fs_begin_txn2']
Received on 2012-03-18 01:08:31 CET