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

[tor-commits] [compass/master] self._datafile_name not set when it's already needed by self._create_filters



commit f001ba866b1c7ba8f58e85371210d303f127f7a4
Author: Michael Zeltner <m@xxxxxxxx>
Date:   Wed Feb 6 16:11:57 2013 +0100

    self._datafile_name not set when it's already needed by self._create_filters
---
 compass.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compass.py b/compass.py
index 18e7c8c..956e26d 100755
--- a/compass.py
+++ b/compass.py
@@ -186,10 +186,10 @@ class InverseFilter(BaseFilter):
 class RelayStats(object):
     def __init__(self, options, custom_datafile="details.json"):
         self._data = None
+        self._datafile_name = custom_datafile
         self._filters = self._create_filters(options)
         self._get_group = self._get_group_function(options)
         self._relays = None
-        self._datafile_name = custom_datafile
 
     @property
     def data(self):

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