Show More
@@ -99,7 +99,8 b' class MakeIndex(BasePasterCommand):' | |||||
99 |
|
99 | |||
100 | index_location = config['index_dir'] |
|
100 | index_location = config['index_dir'] | |
101 | repo_location = self.options.repo_location |
|
101 | repo_location = self.options.repo_location | |
102 | repo_list = map(strip, self.options.repo_list.split(',')) |
|
102 | repo_list = map(strip, self.options.repo_list.split(',')) \ | |
|
103 | if self.options.repo_list else None | |||
103 |
|
104 | |||
104 | #====================================================================== |
|
105 | #====================================================================== | |
105 | # WHOOSH DAEMON |
|
106 | # WHOOSH DAEMON |
@@ -60,7 +60,8 b' ch = logging.StreamHandler()' | |||||
60 | ch.setLevel(logging.DEBUG) |
|
60 | ch.setLevel(logging.DEBUG) | |
61 |
|
61 | |||
62 | # create formatter |
|
62 | # create formatter | |
63 |
formatter = logging.Formatter("%(asctime)s - %(name)s - |
|
63 | formatter = logging.Formatter("%(asctime)s - %(name)s -" | |
|
64 | " %(levelname)s - %(message)s") | |||
64 |
|
65 | |||
65 | # add formatter to ch |
|
66 | # add formatter to ch | |
66 | ch.setFormatter(formatter) |
|
67 | ch.setFormatter(formatter) |
General Comments 0
You need to be logged in to leave comments.
Login now