~jaypipes/+junk/creiht-paste-deploy

« back to all changes in this revision

Viewing changes to glance/store/swift.py

  • Committer: Tarmac
  • Author(s): Rick Harris
  • Date: 2010-12-23 19:41:59 UTC
  • mfrom: (27.1.2 use_datetime_obj)
  • Revision ID: tarmac-20101223194159-304tpg996wuo6mwf
Converts timestamp attributes to datetime objects before persisting.

Refactors image_update and image_create to use the same basic code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
 
115
115
def get_connection_class(conn_class):
116
116
    if conn_class:
117
 
        pass # Use the provided conn_class
 
117
        pass  # Use the provided conn_class
118
118
    else:
119
119
        # NOTE(sirp): A standard import statement won't work here because
120
120
        # this file ('swift.py') is shadowing the swift module, and since