Show More
@@ -50,12 +50,9 b' def _get_process_rss(pid=None):' | |||
|
50 | 50 | |
|
51 | 51 | |
|
52 | 52 | def _get_config(ini_path): |
|
53 | import configparser | |
|
53 | 54 | |
|
54 | 55 | try: |
|
55 | import configparser | |
|
56 | except ImportError: | |
|
57 | import ConfigParser as configparser | |
|
58 | try: | |
|
59 | 56 | config = configparser.RawConfigParser() |
|
60 | 57 | config.read(ini_path) |
|
61 | 58 | return config |
General Comments 0
You need to be logged in to leave comments.
Login now