Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-k committed Feb 8, 2014
1 parent 4c750d4 commit 4905518
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion incoming.py
Expand Up @@ -129,7 +129,7 @@ def run_queue(self, debug):

functions.json_save(queue, queue_filename)

if self.config['send_mail']:
if self.config.as_bool('send_mail'):
sendmail = os.popen("sendmail -t", "w")
sendmail.write("From: %s\n" % "AutoMate <automate@mate-desktop.org>")
sendmail.write("To: %s\n" % deb_changes['Changed-By'])
Expand Down
4 changes: 3 additions & 1 deletion reprepro.py
Expand Up @@ -46,8 +46,10 @@ def create_config(self):
config_file.write("Components: main\n")
config_file.write("UDebComponents: main\n")
config_file.write("Architectures: %s source\n" % " ".join(self.archs))
if self.config["gpg_sign"]:
if self.config.as_bool("gpg_sign"):
config_file.write("SignWith: yes\n")
else:
config_file.write("SignWith: no\n")
config_file.write("DscIndices: Sources Release . .gz .bz2\n")
config_file.write("DebIndices: Packages Release . .gz .bz2\n")
config_file.write("\n")
Expand Down

0 comments on commit 4905518

Please sign in to comment.