Skip to content

Commit

Permalink
resource_for_region signature change
Browse files Browse the repository at this point in the history
  • Loading branch information
glyph committed Sep 19, 2014
1 parent 1f0607c commit 621cce5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mimic/rest/swift_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- test-case-name: mimic.test.test_swift -*-

"""
API mock for OpenStack Swift / Rackspace Cloud Files.
"""
Expand Down Expand Up @@ -65,7 +67,7 @@ def catalog_entries(self, tenant_id):
])
]

def resource_for_region(self, uri_prefix):
def resource_for_region(self, region, uri_prefix, session_store):
"""
Return an IResource implementing a public Swift region endpoint.
"""
Expand Down

0 comments on commit 621cce5

Please sign in to comment.