Skip to content

Commit

Permalink
templates cli - removed old route for content update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Strachota committed Oct 5, 2011
1 parent 1e04299 commit 5e6c282
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cli/src/katello/client/api/template.py
Expand Up @@ -82,16 +82,6 @@ def update(self, tplId, newName, description, parentId):
return self.server.PUT(path, tplData)[1]


def update_content(self, tplId, actionName, params):
action = {
'do': actionName
}
action.update(params)

path = "/api/templates/%s/update_content" % str(tplId)
return self.server.PUT(path, action)[1]


def add_content(self, tplId, contentType, attrs):
path = "/api/templates/%s/%s/" % (str(tplId), contentType)
return self.server.POST(path, attrs)[1]
Expand Down

0 comments on commit 5e6c282

Please sign in to comment.