aboutsummaryrefslogtreecommitdiffstats
path: root/Testcases/cfgm_common/importutils.pyc
blob: bbbcb95c0c99f7f040cd75da79071ac1de4225ec (plain)
ofshex dumpascii
0000 03 f3 0d 0a 23 8f 8b 55 63 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 00 73 52 00 00 00 64 00 ....#..Uc............@...sR...d.
0020 00 5a 00 00 64 01 00 64 02 00 6c 01 00 5a 01 00 64 01 00 64 02 00 6c 02 00 5a 02 00 64 03 00 84 .Z..d..d..l..Z..d..d..l..Z..d...
0040 00 00 5a 03 00 64 04 00 84 00 00 5a 04 00 64 05 00 84 00 00 5a 05 00 64 06 00 84 00 00 5a 06 00 ..Z..d.....Z..d.....Z..d.....Z..
0060 64 02 00 64 07 00 84 01 00 5a 08 00 64 02 00 53 28 08 00 00 00 73 30 00 00 00 0a 49 6d 70 6f 72 d..d.....Z..d..S(....s0....Impor
0080 74 20 72 65 6c 61 74 65 64 20 75 74 69 6c 69 74 69 65 73 20 61 6e 64 20 68 65 6c 70 65 72 20 66 t.related.utilities.and.helper.f
00a0 75 6e 63 74 69 6f 6e 73 2e 0a 69 ff ff ff ff 4e 63 01 00 00 00 04 00 00 00 05 00 00 00 43 00 00 unctions..i....Nc............C..
00c0 00 73 77 00 00 00 7c 00 00 6a 00 00 64 01 00 83 01 00 5c 03 00 7d 01 00 7d 02 00 7d 03 00 74 01 .sw...|..j..d.....\..}..}..}..t.
00e0 00 7c 01 00 83 01 00 01 79 18 00 74 02 00 74 03 00 6a 04 00 7c 01 00 19 7c 03 00 83 02 00 53 57 .|......y..t..t..j..|...|.....SW
0100 6e 36 00 04 74 05 00 6b 0a 00 72 72 00 01 01 01 74 06 00 64 02 00 7c 03 00 74 07 00 6a 08 00 74 n6..t..k..rr....t..d..|..t..j..t
0120 03 00 6a 09 00 83 00 00 8c 00 00 66 02 00 16 83 01 00 82 01 00 6e 01 00 58 64 03 00 53 28 04 00 ..j........f.........n..Xd..S(..
0140 00 00 73 39 00 00 00 52 65 74 75 72 6e 73 20 61 20 63 6c 61 73 73 20 66 72 6f 6d 20 61 20 73 74 ..s9...Returns.a.class.from.a.st
0160 72 69 6e 67 20 69 6e 63 6c 75 64 69 6e 67 20 6d 6f 64 75 6c 65 20 61 6e 64 20 63 6c 61 73 73 2e ring.including.module.and.class.
0180 74 01 00 00 00 2e 73 1d 00 00 00 43 6c 61 73 73 20 25 73 20 63 61 6e 6e 6f 74 20 62 65 20 66 6f t.....s....Class.%s.cannot.be.fo
01a0 75 6e 64 20 28 25 73 29 4e 28 0a 00 00 00 74 0a 00 00 00 72 70 61 72 74 69 74 69 6f 6e 74 0a 00 und.(%s)N(....t....rpartitiont..
01c0 00 00 5f 5f 69 6d 70 6f 72 74 5f 5f 74 07 00 00 00 67 65 74 61 74 74 72 74 03 00 00 00 73 79 73 ..__import__t....getattrt....sys
01e0 74 07 00 00 00 6d 6f 64 75 6c 65 73 74 0e 00 00 00 41 74 74 72 69 62 75 74 65 45 72 72 6f 72 74 t....modulest....AttributeErrort
0200 0b 00 00 00 49 6d 70 6f 72 74 45 72 72 6f 72 74 09 00 00 00 74 72 61 63 65 62 61 63 6b 74 10 00 ....ImportErrort....tracebackt..
0220 00 00 66 6f 72 6d 61 74 5f 65 78 63 65 70 74 69 6f 6e 74 08 00 00 00 65 78 63 5f 69 6e 66 6f 28 ..format_exceptiont....exc_info(
0240 04 00 00 00 74 0a 00 00 00 69 6d 70 6f 72 74 5f 73 74 72 74 07 00 00 00 6d 6f 64 5f 73 74 72 74 ....t....import_strt....mod_strt
0260 04 00 00 00 5f 73 65 70 74 09 00 00 00 63 6c 61 73 73 5f 73 74 72 28 00 00 00 00 28 00 00 00 00 ...._sept....class_str(....(....
0280 73 3b 00 00 00 2f 75 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 73 74 2d 70 61 63 s;.../usr/lib/python2.7/dist-pac
02a0 6b 61 67 65 73 2f 63 66 67 6d 5f 63 6f 6d 6d 6f 6e 2f 69 6d 70 6f 72 74 75 74 69 6c 73 2e 70 79 kages/cfgm_common/importutils.py
02c0 74 0c 00 00 00 69 6d 70 6f 72 74 5f 63 6c 61 73 73 18 00 00 00 73 10 00 00 00 00 02 18 01 0a 01 t....import_class....s..........
02e0 03 01 18 01 0d 01 06 01 03 01 63 01 00 00 00 03 00 00 00 03 00 00 00 4f 00 00 00 73 13 00 00 00 ..........c............O...s....
0300 74 00 00 7c 00 00 83 01 00 7c 01 00 7c 02 00 8e 00 00 53 28 01 00 00 00 73 2c 00 00 00 49 6d 70 t..|.....|..|.....S(....s,...Imp
0320 6f 72 74 20 61 20 63 6c 61 73 73 20 61 6e 64 20 72 65 74 75 72 6e 20 61 6e 20 69 6e 73 74 61 6e ort.a.class.and.return.an.instan
0340 63 65 20 6f 66 20 69 74 2e 28 01 00 00 00 52 0f 00 00 00 28 03 00 00 00 52 0b 00 00 00 74 04 00 ce.of.it.(....R....(....R....t..
0360 00 00 61 72 67 73 74 06 00 00 00 6b 77 61 72 67 73 28 00 00 00 00 28 00 00 00 00 73 3b 00 00 00 ..argst....kwargs(....(....s;...
0380 2f 75 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 73 74 2d 70 61 63 6b 61 67 65 73 /usr/lib/python2.7/dist-packages
03a0 2f 63 66 67 6d 5f 63 6f 6d 6d 6f 6e 2f 69 6d 70 6f 72 74 75 74 69 6c 73 2e 70 79 74 0d 00 00 00 /cfgm_common/importutils.pyt....
03c0 69 6d 70 6f 72 74 5f 6f 62 6a 65 63 74 24 00 00 00 73 02 00 00 00 00 02 63 02 00 00 00 05 00 00 import_object$...s......c.......
03e0 00 05 00 00 00 4f 00 00 00 73 4f 00 00 00 64 01 00 7c 00 00 7c 01 00 66 02 00 16 7d 04 00 79 17 .....O...sO...d..|..|..f...}..y.
0400 00 74 00 00 7c 04 00 83 01 00 7c 02 00 7c 03 00 8e 00 00 53 57 6e 21 00 04 74 01 00 6b 0a 00 72 .t..|.....|..|.....SWn!..t..k..r
0420 4a 00 01 01 01 74 00 00 7c 01 00 83 01 00 7c 02 00 7c 03 00 8e 00 00 53 58 64 02 00 53 28 03 00 J....t..|.....|..|.....SXd..S(..
0440 00 00 73 f0 00 00 00 54 72 69 65 73 20 74 6f 20 69 6d 70 6f 72 74 20 6f 62 6a 65 63 74 20 66 72 ..s....Tries.to.import.object.fr
0460 6f 6d 20 64 65 66 61 75 6c 74 20 6e 61 6d 65 73 70 61 63 65 2e 0a 0a 20 20 20 20 49 6d 70 6f 72 om.default.namespace.......Impor
0480 74 73 20 61 20 63 6c 61 73 73 20 61 6e 64 20 72 65 74 75 72 6e 20 61 6e 20 69 6e 73 74 61 6e 63 ts.a.class.and.return.an.instanc
04a0 65 20 6f 66 20 69 74 2c 20 66 69 72 73 74 20 62 79 20 74 72 79 69 6e 67 0a 20 20 20 20 74 6f 20 e.of.it,.first.by.trying.....to.
04c0 66 69 6e 64 20 74 68 65 20 63 6c 61 73 73 20 69 6e 20 61 20 64 65 66 61 75 6c 74 20 6e 61 6d 65 find.the.class.in.a.default.name
04e0 73 70 61 63 65 2c 20 74 68 65 6e 20 66 61 69 6c 69 6e 67 20 62 61 63 6b 20 74 6f 0a 20 20 20 20 space,.then.failing.back.to.....
0500 61 20 66 75 6c 6c 20 70 61 74 68 20 69 66 20 6e 6f 74 20 66 6f 75 6e 64 20 69 6e 20 74 68 65 20 a.full.path.if.not.found.in.the.
0520 64 65 66 61 75 6c 74 20 6e 61 6d 65 73 70 61 63 65 2e 0a 20 20 20 20 73 05 00 00 00 25 73 2e 25 default.namespace......s....%s.%
0540 73 4e 28 02 00 00 00 52 0f 00 00 00 52 07 00 00 00 28 05 00 00 00 74 0a 00 00 00 6e 61 6d 65 5f sN(....R....R....(....t....name_
0560 73 70 61 63 65 52 0b 00 00 00 52 10 00 00 00 52 11 00 00 00 74 0c 00 00 00 69 6d 70 6f 72 74 5f spaceR....R....R....t....import_
0580 76 61 6c 75 65 28 00 00 00 00 28 00 00 00 00 73 3b 00 00 00 2f 75 73 72 2f 6c 69 62 2f 70 79 74 value(....(....s;.../usr/lib/pyt
05a0 68 6f 6e 32 2e 37 2f 64 69 73 74 2d 70 61 63 6b 61 67 65 73 2f 63 66 67 6d 5f 63 6f 6d 6d 6f 6e hon2.7/dist-packages/cfgm_common
05c0 2f 69 6d 70 6f 72 74 75 74 69 6c 73 2e 70 79 74 10 00 00 00 69 6d 70 6f 72 74 5f 6f 62 6a 65 63 /importutils.pyt....import_objec
05e0 74 5f 6e 73 29 00 00 00 73 0a 00 00 00 00 07 10 01 03 01 17 01 0d 01 63 01 00 00 00 01 00 00 00 t_ns)...s..............c........
0600 02 00 00 00 43 00 00 00 73 15 00 00 00 74 00 00 7c 00 00 83 01 00 01 74 01 00 6a 02 00 7c 00 00 ....C...s....t..|......t..j..|..
0620 19 53 28 01 00 00 00 73 10 00 00 00 49 6d 70 6f 72 74 20 61 20 6d 6f 64 75 6c 65 2e 28 03 00 00 .S(....s....Import.a.module.(...
0640 00 52 02 00 00 00 52 04 00 00 00 52 05 00 00 00 28 01 00 00 00 52 0b 00 00 00 28 00 00 00 00 28 .R....R....R....(....R....(....(
0660 00 00 00 00 73 3b 00 00 00 2f 75 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 73 74 ....s;.../usr/lib/python2.7/dist
0680 2d 70 61 63 6b 61 67 65 73 2f 63 66 67 6d 5f 63 6f 6d 6d 6f 6e 2f 69 6d 70 6f 72 74 75 74 69 6c -packages/cfgm_common/importutil
06a0 73 2e 70 79 74 0d 00 00 00 69 6d 70 6f 72 74 5f 6d 6f 64 75 6c 65 37 00 00 00 73 04 00 00 00 00 s.pyt....import_module7...s.....
06c0 02 0a 01 63 02 00 00 00 02 00 00 00 05 00 00 00 43 00 00 00 73 27 00 00 00 79 0e 00 74 00 00 7c ...c............C...s'...y..t..|
06e0 00 00 83 01 00 53 57 6e 12 00 04 74 01 00 6b 0a 00 72 22 00 01 01 01 7c 01 00 53 58 64 01 00 53 .....SWn...t..k..r"....|..SXd..S
0700 28 02 00 00 00 73 36 00 00 00 54 72 79 20 74 6f 20 69 6d 70 6f 72 74 20 61 20 6d 6f 64 75 6c 65 (....s6...Try.to.import.a.module
0720 20 61 6e 64 20 69 66 20 69 74 20 66 61 69 6c 73 20 72 65 74 75 72 6e 20 64 65 66 61 75 6c 74 2e .and.if.it.fails.return.default.
0740 4e 28 02 00 00 00 52 16 00 00 00 52 07 00 00 00 28 02 00 00 00 52 0b 00 00 00 74 07 00 00 00 64 N(....R....R....(....R....t....d
0760 65 66 61 75 6c 74 28 00 00 00 00 28 00 00 00 00 73 3b 00 00 00 2f 75 73 72 2f 6c 69 62 2f 70 79 efault(....(....s;.../usr/lib/py
0780 74 68 6f 6e 32 2e 37 2f 64 69 73 74 2d 70 61 63 6b 61 67 65 73 2f 63 66 67 6d 5f 63 6f 6d 6d 6f thon2.7/dist-packages/cfgm_commo
07a0 6e 2f 69 6d 70 6f 72 74 75 74 69 6c 73 2e 70 79 74 0a 00 00 00 74 72 79 5f 69 6d 70 6f 72 74 3d n/importutils.pyt....try_import=
07c0 00 00 00 73 08 00 00 00 00 02 03 01 0e 01 0d 01 28 09 00 00 00 74 07 00 00 00 5f 5f 64 6f 63 5f ...s............(....t....__doc_
07e0 5f 52 04 00 00 00 52 08 00 00 00 52 0f 00 00 00 52 12 00 00 00 52 15 00 00 00 52 16 00 00 00 74 _R....R....R....R....R....R....t
0800 04 00 00 00 4e 6f 6e 65 52 18 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 3b 00 00 ....NoneR....(....(....(....s;..
0820 00 2f 75 73 72 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 64 69 73 74 2d 70 61 63 6b 61 67 65 ./usr/lib/python2.7/dist-package
0840 73 2f 63 66 67 6d 5f 63 6f 6d 6d 6f 6e 2f 69 6d 70 6f 72 74 75 74 69 6c 73 2e 70 79 74 08 00 00 s/cfgm_common/importutils.pyt...
0860 00 3c 6d 6f 64 75 6c 65 3e 12 00 00 00 73 0e 00 00 00 06 02 0c 01 0c 03 09 0c 09 05 09 0e 09 06 .<module>....s..................