[ovs-git] Open vSwitch: timeval: Import ctypes Python library within a try statement. (master)

dev at openvswitch.org dev at openvswitch.org
Sat May 31 01:04:05 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  813c5ba585f59eeffb81a185bb6e14f96bc47cc2 (commit)
      from  8396f8070bb35006fcd14486296fb203646a8dfa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 813c5ba585f59eeffb81a185bb6e14f96bc47cc2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=813c5ba585f59eeffb81a185bb6e14f96bc47cc2
Author: Ryan Wilson <wryan at nicira.com>
		
timeval: Import ctypes Python library within a try statement.
		
Older versions of Python do not have ctypes as a default installed
package. This patch puts the 'import ctypes' statement inside a try
statement.

This fixes a bug introduced by commit 8396f (timeval: Use monotonic
time in OVS Python timeval library).

Signed-off-by: Ryan Wilson <wryan at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 python/ovs/timeval.py |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list