Merge conflict

This commit is contained in:
Michael DeHaan 2013-06-18 20:18:17 -04:00
parent 96134d003e
commit 31b63b033b

View file

@ -129,15 +129,9 @@ def download_key(module, url):
module.fail_json(msg="error getting key id from url", traceback=format_exc()) module.fail_json(msg="error getting key id from url", traceback=format_exc())
<<<<<<< HEAD
def add_key(module, key): def add_key(module, key):
cmd = "apt-key add -" cmd = "apt-key add -"
(rc, out, err) = module.run_command(cmd, data=key, check_rc=True, binary_data=True) (rc, out, err) = module.run_command(cmd, data=key, check_rc=True, binary_data=True)
=======
def add_key(module, key, data=None):
cmd = "apt-key add %s" % (key)
(rc, out, err) = module.run_command(cmd, data=data, check_rc=True)
>>>>>>> 77159d21da40f6fcb0bfdcb1886f57acf68ea4f4
return True return True
def remove_key(module, key_id): def remove_key(module, key_id):