Permalink
Browse files

fix crash when typedbytes not installed as egg

  • Loading branch information...
1 parent aef376f commit b67a7b1dfeaa7df8fa98a6cbb550a7fec201fa4d Klaas Bosteels committed Sep 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 dumbo/backends/streaming.py
View
2 dumbo/backends/streaming.py
@@ -77,7 +77,7 @@ def run(self):
if modpath.endswith('.egg'):
addedopts.add('libegg', modpath)
else:
- opts.add('file', modpath)
+ opts.add('file', 'file://%s' % os.path.abspath(modpath))
opts.add('jobconf', 'stream.map.input=typedbytes')
opts.add('jobconf', 'stream.reduce.input=typedbytes')

0 comments on commit b67a7b1

Please sign in to comment.