~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to python/ovs/db/idl.py

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2009, 2010, 2011, 2012 Nicira, Inc.
 
1
# Copyright (c) 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
610
610
        assert self._changes is not None
611
611
        if self._data is None:
612
612
            del self._idl.txn._txn_rows[self.uuid]
 
613
        else:
 
614
            self._idl.txn._txn_rows[self.uuid] = self
613
615
        self.__dict__["_changes"] = None
614
616
        del self._table.rows[self.uuid]
615
617