Commit a88bf182 authored by Antoine Catton's avatar Antoine Catton

Use meanful parameters in publishurl recipe

parent 5430344e
...@@ -57,9 +57,9 @@ class Recipe(GenericSlapRecipe): ...@@ -57,9 +57,9 @@ class Recipe(GenericSlapRecipe):
self.urlparts[option] = self.options[option] self.urlparts[option] = self.options[option]
if 'user' in self.options: if 'user' in self.options:
self.urlparts.update(auth=(self.options['user'],)) self.urlparts.update(auth=(self.options['username'],))
if 'password' in self.options: if 'password' in self.options:
self.urlparts.update(auth=(self.options['user'], self.urlparts.update(auth=(self.options['username'],
self.options['password'])) self.options['password']))
self.setConnectionUrl(**self.urlparts) self.setConnectionUrl(**self.urlparts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment