Revision: 7291 Author: russblau Date: 2009-09-23 14:46:31 +0000 (Wed, 23 Sep 2009)
Log Message: ----------- missing 'import' statement
Modified Paths: -------------- branches/rewrite/pywikibot/config2.py
Modified: branches/rewrite/pywikibot/config2.py =================================================================== --- branches/rewrite/pywikibot/config2.py 2009-09-22 23:45:16 UTC (rev 7290) +++ branches/rewrite/pywikibot/config2.py 2009-09-23 14:46:31 UTC (rev 7291) @@ -569,6 +569,7 @@
def shortpath(path): """Return a file path relative to config.base_dir.""" + import os.path if path.startswith(base_dir): return path[len(base_dir) + len(os.path.sep) : ] return path