From: <yar...@us...> - 2011-06-27 03:40:22
|
Revision: 779 http://fail2ban.svn.sourceforge.net/fail2ban/?rev=779&view=rev Author: yarikoptic Date: 2011-06-27 03:40:16 +0000 (Mon, 27 Jun 2011) Log Message: ----------- BF: use os.path.join to generate full path - fixes includes in configs given local filename Modified Paths: -------------- branches/FAIL2BAN-0_8/client/configparserinc.py Modified: branches/FAIL2BAN-0_8/client/configparserinc.py =================================================================== --- branches/FAIL2BAN-0_8/client/configparserinc.py 2011-06-27 03:40:08 UTC (rev 778) +++ branches/FAIL2BAN-0_8/client/configparserinc.py 2011-06-27 03:40:16 UTC (rev 779) @@ -86,7 +86,7 @@ if os.path.isabs(newResource): r = newResource else: - r = "%s/%s" % (resourceDir, newResource) + r = os.path.join(resourceDir, newResource) if r in seen: continue s = seen + [resource] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |