Commits

Maciej Fijalkowski  committed bafaa81

hopefully fix uploading

  • Participants
  • Parent commits 012ff55

Comments (0)

Files changed (1)

 
 
 def get_upload_options(options):
-    '''
+    """
     returns a dict with 2 keys: CHANGED, BASELINE. The values are
     dicts with the keys
     * 'upload' (boolean)
 
     raises: AssertionError if upload is specified, but not the
     corresponding executable or revision.
-    '''
+    """
 
     if options.upload_baseline_revision is None:
         options.upload_baseline_revision = options.upload_revision
         urls = upload_options[run]['urls']
         project = upload_options[run]['project']
         executable = upload_options[run]['executable']
-        branch = upload_options[run]['branch']
+        branch = upload_options[run]['branch'] or 'default'
         revision = upload_options[run]['revision']
 
         if upload: