~ubuntu-branches/ubuntu/trusty/exabgp/trusty

« back to all changes in this revision

Viewing changes to lib/exabgp/utils.py

  • Committer: Package Import Robot
  • Author(s): Henry-Nicolas Tourneur
  • Date: 2012-03-22 12:00:00 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120322120000-v4aj8h69mhpmgbjq
Tags: 2.0.7-1

* New upstream release
* Fix bad clean target for build/ directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
1
# encoding: utf-8
3
2
"""
4
3
utils.py
5
4
 
6
5
Created by Thomas Mangin on 2009-09-06.
7
 
Copyright (c) 2009-2011 Exa Networks. All rights reserved.
 
6
Copyright (c) 2009-2012 Exa Networks. All rights reserved.
8
7
"""
9
8
 
10
 
import sys
11
 
import time
 
9
#import sys
 
10
#import time
12
11
 
13
12
import StringIO
14
13
import traceback
24
23
        traceback.print_exc(file=buff)
25
24
        r = buff.getvalue()
26
25
        buff.close()
27
 
        return r
 
 
b'\\ No newline at end of file'
 
26
        return r