Set default for volumes in argparse
This prevents code from failing when volumes are not specified
MODIFY
repo2docker/app.py
repo2docker/app.py
@@ -217,7 +217,8 @@ class Repo2Docker(Application):
'--volume', '-v',
dest='volumes',
action='append',
- help='Volumes to mount inside the container, in form src:dest'
+ help='Volumes to mount inside the container, in form src:dest',
+ default=[]
)
return argparser

Set default for volumes in argparse

This prevents code from failing when volumes are not specified