]> git.donarmstrong.com Git - dak.git/commitdiff
daklib/command.py: Add Cc option.
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 23 Oct 2014 18:31:57 +0000 (20:31 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 23 Oct 2014 18:31:57 +0000 (20:31 +0200)
daklib/command.py

index 73c8d240d21af08de6926e3d108baad28d150105..867f7e3692589a5c26d1f1bc059cb40d7a62298f 100644 (file)
@@ -158,6 +158,8 @@ class CommandFile(object):
             section = sections.section
             if 'Uploader' in section:
                 self.uploader = section['Uploader']
+            if 'Cc' in section:
+                self.cc.append(section['Cc'])
             # TODO: Verify first section has valid Archive field
             if 'Archive' not in section:
                 raise CommandError('No Archive field in first section.')