Search
j0ke.net Open Build Service
>
Projects
>
server:routing
>
python-exabgp
> exabgp-3.4.20_OrderedDict.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File exabgp-3.4.20_OrderedDict.patch of Package python-exabgp (Revision 13)
Currently displaying revision
13
,
show latest
--- lib/exabgp/rib/store.py.orig 2017-07-03 15:02:09.121701764 +0200 +++ lib/exabgp/rib/store.py 2017-07-03 15:02:20.585700702 +0200 @@ -6,7 +6,10 @@ Copyright (c) 2009-2015 Exa Networks. All rights reserved. """ -from collections import OrderedDict +try: + from collections import OrderedDict +except ImportError: + from ordereddict import OrderedDict from exabgp.bgp.message import IN from exabgp.bgp.message import OUT