[Assorted-commits] SF.net SVN: assorted:[983] python-commons/trunk/src/commons
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-10-02 19:31:19
|
Revision: 983 http://assorted.svn.sourceforge.net/assorted/?rev=983&view=rev Author: yangzhang Date: 2008-10-02 19:31:12 +0000 (Thu, 02 Oct 2008) Log Message: ----------- added explicit exports to a few modules Modified Paths: -------------- python-commons/trunk/src/commons/files.py python-commons/trunk/src/commons/misc.py python-commons/trunk/src/commons/strs.py Modified: python-commons/trunk/src/commons/files.py =================================================================== --- python-commons/trunk/src/commons/files.py 2008-10-02 19:14:50 UTC (rev 982) +++ python-commons/trunk/src/commons/files.py 2008-10-02 19:31:12 UTC (rev 983) @@ -13,6 +13,21 @@ from __future__ import with_statement +__all__ = ''' +soft_makedirs +temp_dir +cleanse_filename +invalid_filename_chars +invalid_filename_chars_regex +disk_double_buffer +versioned_guard +versioned_cache +read_file +write_file +write_or_rm +is_nonempty_file +'''.split() + import os, re, tempfile from cPickle import * from path import path Modified: python-commons/trunk/src/commons/misc.py =================================================================== --- python-commons/trunk/src/commons/misc.py 2008-10-02 19:14:50 UTC (rev 982) +++ python-commons/trunk/src/commons/misc.py 2008-10-02 19:31:12 UTC (rev 983) @@ -5,6 +5,18 @@ Miscellanea. """ +__all__ = ''' +days +generate_bit_fields +wall_clock +default_if_none +seq +run +TerminalController +remove_colors +wrap_color +'''.split() + from contextlib import * from subprocess import CalledProcessError, PIPE, Popen from time import * Modified: python-commons/trunk/src/commons/strs.py =================================================================== --- python-commons/trunk/src/commons/strs.py 2008-10-02 19:14:50 UTC (rev 982) +++ python-commons/trunk/src/commons/strs.py 2008-10-02 19:31:12 UTC (rev 983) @@ -2,9 +2,21 @@ # vim:ft=python:et:sw=4:ts=4 """ -String formatting. +String formatting, encoding, etc. """ +__all__ = ''' +format +safe_ascii +cp1252_to_unicode_translations +cp1252_to_unicode +unwrap +indent +underline +dos2unix +unicode2html +'''.split() + import itertools, cgi, re def format( *args ): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |