[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Adapt MakeStat.py to reflect the new directory structure



commit a7e6f36fe3a6453964159714d1fbf309efd0abf2
Author: Christian Fromme <kaner@xxxxxxxxxx>
Date:   Sat Mar 3 12:45:48 2012 +0100

    Adapt MakeStat.py to reflect the new directory structure
---
 MakeStat.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MakeStat.py b/MakeStat.py
index f5ddf70..a34d59b 100644
--- a/MakeStat.py
+++ b/MakeStat.py
@@ -70,7 +70,7 @@ def main():
     stats = {}
     
     config = gettor.config.Config()
-    logDir = os.path.join(config.BASEDIR, "log")
+    logDir = os.path.join(config.BASEDIR, "var", "log")
     logFilePattern = os.path.join(logDir, config.LOGFILE + "*.log")
     fileList = glob.glob(logFilePattern)
     fileList = sorted(fileList)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits