Skip to content
Snippets Groups Projects
Commit 6b4cfd8e authored by lucha's avatar lucha
Browse files

count-options uses on-local-blogs instead than on-all-blogs, ma per davero

parent a796f19b
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ALL_LOCAL_BLOGS_BIN = os.path.abspath( ...@@ -13,7 +13,7 @@ ALL_LOCAL_BLOGS_BIN = os.path.abspath(
os.path.join(os.path.dirname(__file__), 'on-local-blogs')) os.path.join(os.path.dirname(__file__), 'on-local-blogs'))
def get_option(opt): def get_option(opt):
pipe = subprocess.Popen([ALL_BLOGS_BIN, 'get-option', opt], pipe = subprocess.Popen([ALL_LOCAL_BLOGS_BIN, 'get-option', opt],
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
data = defaultdict(int) data = defaultdict(int)
for match in re.finditer('(.*): (.*)',pipe.communicate()[0]): for match in re.finditer('(.*): (.*)',pipe.communicate()[0]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment