Allow includes from the local directory by default.

Will build in a flag in the future to be able to disallow this.
This commit is contained in:
Vincent Driessen 2011-12-12 10:44:52 +01:00
parent 7be878aed7
commit 2ac6c1faa3
3 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,9 @@ def parse_args():
return (opts, args, parser) return (opts, args, parser)
def main(): def main():
import sys
sys.path.insert(0, '.')
opts, args, parser = parse_args() opts, args, parser = parse_args()
use_redis() use_redis()

View File

@ -137,6 +137,9 @@ def parse_args():
def main(): def main():
import sys
sys.path.insert(0, '.')
args = parse_args() args = parse_args()
# Setup connection to Redis # Setup connection to Redis

View File

@ -53,6 +53,9 @@ def parse_args():
def main(): def main():
import sys
sys.path.insert(0, '.')
args = parse_args() args = parse_args()
setup_loghandlers(args) setup_loghandlers(args)