Commits

Eric Larson  committed d4ec1a6

Make sure we join the URLs correctly for actions

  • Participants
  • Parent commits c42ac45

Comments (0)

Files changed (1)

File dad/client/cli.py

 
         if action not in service:
             raise Exception('%s does not support %s' % (name, action))
+        if not service[action].startswith(self.base):
+            return urllib.basejoin(self.base, service[action])
         return service[action]
 
     def action(self, name, action):