コード例 #1
0
ファイル: pulpagent.py プロジェクト: tomlanyon/pulp
 def __init__(self, consumer):
     context = Context(consumer)
     # replyto
     context.replyto = dict(systemid='pulp',
                            method='POST',
                            path='/v2/agent/%s/reply/' % context.uuid)
     # context
     self.context = context
コード例 #2
0
ファイル: pulpagent.py プロジェクト: bartwo/pulp
 def __init__(self, consumer):
     context = Context(consumer)
     # replyto
     context.replyto = dict(
         systemid='pulp',
         method='POST',
         path='/v2/agent/%s/reply/' % context.uuid)
     # context
     self.context = context