Permalink
Browse files

Mapper working properly with argv

  • Loading branch information...
1 parent 3411f85 commit b2c9feb4ad8f5d521b85b168f93536f06c5f8e93 @heynemann committed Jul 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 r3/worker/mapper.py
View
@@ -99,7 +99,7 @@ def map_item(self, item, json_item):
def main(arguments=None):
if not arguments:
- arguments = sys.argv
+ arguments = sys.argv[1:]
parser = argparse.ArgumentParser(description='runs the application that processes stream requests for r³')
parser.add_argument('-l', '--loglevel', type=str, default='warning', help='the log level that r³ will run under')

0 comments on commit b2c9feb

Please sign in to comment.