~ubuntu-branches/ubuntu/vivid/ironic/vivid-updates

« back to all changes in this revision

Viewing changes to ironic/api/controllers/base.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-01-05 12:21:37 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20150105122137-171bqrdpcxqipunk
Tags: 2015.1~b1-0ubuntu1
* New upstream beta release:
  - d/control: Align version requirements with upstream release.
* d/watch: Update uversionmangle to deal with kilo beta versioning
  changes.
* d/control: Bumped Standards-Version to 3.9.6, no changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
class APIBase(wtypes.Base):
22
22
 
23
23
    created_at = wsme.wsattr(datetime.datetime, readonly=True)
24
 
    "The time in UTC at which the object is created"
 
24
    """The time in UTC at which the object is created"""
25
25
 
26
26
    updated_at = wsme.wsattr(datetime.datetime, readonly=True)
27
 
    "The time in UTC at which the object is updated"
 
27
    """The time in UTC at which the object is updated"""
28
28
 
29
29
    def as_dict(self):
30
30
        """Render this object as a dict of its fields."""