From: <yar...@us...> - 2011-06-27 03:40:14
|
Revision: 778 http://fail2ban.svn.sourceforge.net/fail2ban/?rev=778&view=rev Author: yarikoptic Date: 2011-06-27 03:40:08 +0000 (Mon, 27 Jun 2011) Log Message: ----------- very minor -- uniform indentation in example 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-05-07 03:16:40 UTC (rev 777) +++ branches/FAIL2BAN-0_8/client/configparserinc.py 2011-06-27 03:40:08 UTC (rev 778) @@ -43,7 +43,7 @@ [INCLUDES] before = 1.conf - 3.conf + 3.conf after = 1.conf @@ -54,8 +54,8 @@ the tree. I wasn't sure what would be the right way to implement generic (aka c++ - template) so we could base at any *configparser class... so I will - leave it for the future + template) so we could base at any *configparser class... so I will + leave it for the future """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |