russblau@svn.wikimedia.org wrote:
+def datafilepath(*filename):
- """Returns an absolute path to a data file, offset from the
bot's
base directory.
Argument(s) are zero or more directory names, followed by a
data file + name.
- """
- return os.path.join(config.base_dir, *filename)
But I should like to see here not absolute file path...
Updating file 'copyright/en/Abc.txt' ([[en:Wikipedia:Mirrors and forks/Abc]])
instead of:
Updating file '/cygdrive/d/pywikipedia/copyright/en/Abc.txt' ([[en:Wikipedia:Mirrors and forks/Abc]])
Can you fix this problem?
Francesco Cosoleto