#132 cli: fix sync-bugs crash
Merged 3 years ago by kparal. Opened 3 years ago by kparal.

file modified
+6
@@ -315,6 +315,12 @@ 

  

      sync_bugs_parser = subparsers.add_parser('sync-bugs',

                                               help='Synchronize bugs only')

+     sync_bugs_parser.add_argument('-f', '--full',

+                                   action='store_true', default=False,

+                                   help='Force full sync')

+     sync_bugs_parser.add_argument('-c', '--check',

+                                   action='store_true', default=False,

+                                   help='Force check for missing blocker bugs after sync')

      sync_bugs_parser.set_defaults(func=sync_bugs)

  

      sync_updates_parser = subparsers.add_parser('sync-updates',

It was crashing because of missing arguments that get populated in 'sync' but
didn't get populated during 'sync-bugs'.

Commit e6a11a7 fixes this pull-request

Pull-Request has been merged by kparal

3 years ago
Metadata