|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/share/system-config-network/netconfpkg/ |
Upload File : |
Ñò
åOÜLc @ sf d Z d d k Z d d k Z d Z d „ Z d e f d „ ƒ YZ d e e f d „ ƒ YZ d Z d S(
sÀ
Transactions of attributes by inheriting the Transaction class
Basic Usage:
class Test(Transaction):
pass
a = Test()
a.test = "old state"
a.commit()
a.test = "bad state, roll me back"
a.rollback()
assert(a.test == "old state")
See also: http://www.harald-hoyer.de/linux/pythontransactionclass
Copyright (C) 2008 Harald Hoyer <harald@redhat.com>
Copyright (C) 2008 Red Hat, Inc.
iÿÿÿÿNi c C s# | | j o t S| i | ƒ t S( s"