summaryrefslogtreecommitdiff
path: root/src/leap/common/check.pyc
blob: 7c484893346e3e51dcd19f99701fd998cff3c5fe (plain)
ofshex dumpascii
0000 03 f3 0d 0a 49 fa 40 51 63 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 00 73 52 00 00 00 64 00 ....I.@Qc............@...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 01 00 64 .Z..d..d..l..Z..d..d..l..Z..d..d
0040 02 00 6c 03 00 5a 03 00 65 01 00 6a 04 00 65 05 00 83 01 00 5a 06 00 64 03 00 64 04 00 84 01 00 ..l..Z..e..j..e.....Z..d..d.....
0060 5a 07 00 64 05 00 84 00 00 5a 08 00 64 02 00 53 28 06 00 00 00 73 2e 00 00 00 0a 53 65 74 20 6f Z..d.....Z..d..S(....s.....Set.o
0080 66 20 66 75 6e 63 74 69 6f 6e 73 20 74 6f 20 68 65 6c 70 20 63 68 65 63 6b 69 6e 67 20 73 69 74 f.functions.to.help.checking.sit
00a0 75 61 74 69 6f 6e 73 0a 69 ff ff ff ff 4e 74 00 00 00 00 63 02 00 00 00 05 00 00 00 05 00 00 00 uations.i....Nt....c............
00c0 43 00 00 00 73 92 00 00 00 7c 00 00 73 7c 00 74 00 00 6a 01 00 64 01 00 7c 01 00 66 01 00 16 83 C...s....|..s|.t..j..d..|..f....
00e0 01 00 01 79 35 00 74 02 00 6a 03 00 83 00 00 7d 02 00 74 04 00 6a 05 00 7c 02 00 83 01 00 7d 03 ...y5.t..j.....}..t..j..|.....}.
0100 00 74 00 00 6a 01 00 64 02 00 6a 06 00 7c 03 00 83 01 00 83 01 00 01 57 71 7c 00 04 74 07 00 6b .t..j..d..j..|.........Wq|..t..k
0120 0a 00 72 78 00 01 7d 04 00 01 74 00 00 6a 01 00 64 03 00 7c 04 00 66 01 00 16 83 01 00 01 71 7c ..rx..}...t..j..d..|..f.......q|
0140 00 58 6e 00 00 7c 00 00 73 8e 00 74 08 00 7c 01 00 83 01 00 82 01 00 64 04 00 53 28 05 00 00 00 .Xn..|..s..t..|........d..S(....
0160 73 16 01 00 00 0a 20 20 20 20 41 73 73 65 72 74 73 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 20 s.........Asserts.the.condition.
0180 61 6e 64 20 64 69 73 70 6c 61 79 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 69 66 20 74 68 61 74 and.displays.the.message.if.that
01a0 27 73 20 6e 6f 74 0a 20 20 20 20 6d 65 74 2e 20 49 74 20 61 6c 73 6f 20 6c 6f 67 73 20 74 68 65 's.not.....met..It.also.logs.the
01c0 20 65 72 72 6f 72 20 61 6e 64 20 69 74 73 20 62 61 63 6b 74 72 61 63 65 2e 0a 0a 20 20 20 20 40 .error.and.its.backtrace.......@
01e0 70 61 72 61 6d 20 63 6f 6e 64 69 74 69 6f 6e 3a 20 63 6f 6e 64 69 74 69 6f 6e 20 74 6f 20 63 68 param.condition:.condition.to.ch
0200 65 63 6b 0a 20 20 20 20 40 74 79 70 65 20 63 6f 6e 64 69 74 69 6f 6e 3a 20 62 6f 6f 6c 0a 20 20 eck.....@type.condition:.bool...
0220 20 20 40 70 61 72 61 6d 20 6d 65 73 73 61 67 65 3a 20 6d 65 73 73 61 67 65 20 74 6f 20 64 69 73 ..@param.message:.message.to.dis
0240 70 6c 61 79 20 69 66 20 74 68 65 20 63 6f 6e 64 69 74 69 6f 6e 20 69 73 6e 27 74 20 6d 65 74 0a play.if.the.condition.isn't.met.
0260 20 20 20 20 40 74 79 70 65 20 6d 65 73 73 61 67 65 3a 20 73 74 72 0a 20 20 20 20 73 07 00 00 00 ....@type.message:.str.....s....
0280 42 75 67 3a 20 25 73 52 00 00 00 00 73 16 00 00 00 42 75 67 20 69 6e 20 6c 65 61 70 5f 61 73 73 Bug:.%sR....s....Bug.in.leap_ass
02a0 65 72 74 3a 20 25 72 4e 28 09 00 00 00 74 06 00 00 00 6c 6f 67 67 65 72 74 05 00 00 00 65 72 72 ert:.%rN(....t....loggert....err
02c0 6f 72 74 07 00 00 00 69 6e 73 70 65 63 74 74 0c 00 00 00 63 75 72 72 65 6e 74 66 72 61 6d 65 74 ort....inspectt....currentframet
02e0 09 00 00 00 74 72 61 63 65 62 61 63 6b 74 0c 00 00 00 66 6f 72 6d 61 74 5f 73 74 61 63 6b 74 04 ....tracebackt....format_stackt.
0300 00 00 00 6a 6f 69 6e 74 09 00 00 00 45 78 63 65 70 74 69 6f 6e 74 0e 00 00 00 41 73 73 65 72 74 ...joint....Exceptiont....Assert
0320 69 6f 6e 45 72 72 6f 72 28 05 00 00 00 74 09 00 00 00 63 6f 6e 64 69 74 69 6f 6e 74 07 00 00 00 ionError(....t....conditiont....
0340 6d 65 73 73 61 67 65 74 05 00 00 00 66 72 61 6d 65 74 0b 00 00 00 73 74 61 63 6b 5f 74 72 61 63 messaget....framet....stack_trac
0360 65 74 01 00 00 00 65 28 00 00 00 00 28 00 00 00 00 73 33 00 00 00 2f 68 6f 6d 65 2f 63 61 6c 2f et....e(....(....s3.../home/cal/
0380 6c 65 61 70 2f 6c 65 61 70 5f 63 6c 69 65 6e 74 2f 73 72 63 2f 6c 65 61 70 2f 63 6f 6d 6d 6f 6e leap/leap_client/src/leap/common
03a0 2f 63 68 65 63 6b 2e 70 79 74 0b 00 00 00 6c 65 61 70 5f 61 73 73 65 72 74 1d 00 00 00 73 12 00 /check.pyt....leap_assert....s..
03c0 00 00 00 0a 06 01 14 01 03 01 0c 01 0f 01 1a 01 0f 01 1b 01 63 02 00 00 00 02 00 00 00 06 00 00 ....................c...........
03e0 00 43 00 00 00 73 2a 00 00 00 74 00 00 74 01 00 7c 00 00 7c 01 00 83 02 00 64 01 00 7c 01 00 74 .C...s*...t..t..|..|.....d..|..t
0400 02 00 7c 00 00 83 01 00 66 02 00 16 83 02 00 01 64 02 00 53 28 03 00 00 00 73 bd 00 00 00 0a 20 ..|.....f.......d..S(....s......
0420 20 20 20 48 65 6c 70 65 72 20 61 73 73 65 72 74 20 63 68 65 63 6b 20 66 6f 72 20 61 20 76 61 72 ...Helper.assert.check.for.a.var
0440 69 61 62 6c 65 27 73 20 65 78 70 65 63 74 65 64 20 74 79 70 65 0a 0a 20 20 20 20 40 70 61 72 61 iable's.expected.type......@para
0460 6d 20 76 61 72 3a 20 76 61 72 69 61 62 6c 65 20 74 6f 20 63 68 65 63 6b 0a 20 20 20 20 40 74 79 m.var:.variable.to.check.....@ty
0480 70 65 20 76 61 72 3a 20 61 6e 79 0a 20 20 20 20 40 70 61 72 61 6d 20 65 78 70 65 63 74 65 64 54 pe.var:.any.....@param.expectedT
04a0 79 70 65 3a 20 74 79 70 65 20 74 6f 20 63 68 65 63 6b 20 61 67 61 69 6e 73 0a 20 20 20 20 40 74 ype:.type.to.check.agains.....@t
04c0 79 70 65 20 65 78 70 65 63 74 65 64 54 79 70 65 3a 20 74 79 70 65 0a 20 20 20 20 73 1e 00 00 00 ype.expectedType:.type.....s....
04e0 45 78 70 65 63 74 65 64 20 74 79 70 65 20 25 72 20 69 6e 73 74 65 61 64 20 6f 66 20 25 72 4e 28 Expected.type.%r.instead.of.%rN(
0500 03 00 00 00 52 0f 00 00 00 74 0a 00 00 00 69 73 69 6e 73 74 61 6e 63 65 74 04 00 00 00 74 79 70 ....R....t....isinstancet....typ
0520 65 28 02 00 00 00 74 03 00 00 00 76 61 72 74 0c 00 00 00 65 78 70 65 63 74 65 64 54 79 70 65 28 e(....t....vart....expectedType(
0540 00 00 00 00 28 00 00 00 00 73 33 00 00 00 2f 68 6f 6d 65 2f 63 61 6c 2f 6c 65 61 70 2f 6c 65 61 ....(....s3.../home/cal/leap/lea
0560 70 5f 63 6c 69 65 6e 74 2f 73 72 63 2f 6c 65 61 70 2f 63 6f 6d 6d 6f 6e 2f 63 68 65 63 6b 2e 70 p_client/src/leap/common/check.p
0580 79 74 10 00 00 00 6c 65 61 70 5f 61 73 73 65 72 74 5f 74 79 70 65 32 00 00 00 73 06 00 00 00 00 yt....leap_assert_type2...s.....
05a0 09 0f 01 03 01 28 09 00 00 00 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 74 07 00 00 00 6c 6f 67 67 69 .....(....t....__doc__t....loggi
05c0 6e 67 52 03 00 00 00 52 05 00 00 00 74 09 00 00 00 67 65 74 4c 6f 67 67 65 72 74 08 00 00 00 5f ngR....R....t....getLoggert...._
05e0 5f 6e 61 6d 65 5f 5f 52 01 00 00 00 52 0f 00 00 00 52 14 00 00 00 28 00 00 00 00 28 00 00 00 00 _name__R....R....R....(....(....
0600 28 00 00 00 00 73 33 00 00 00 2f 68 6f 6d 65 2f 63 61 6c 2f 6c 65 61 70 2f 6c 65 61 70 5f 63 6c (....s3.../home/cal/leap/leap_cl
0620 69 65 6e 74 2f 73 72 63 2f 6c 65 61 70 2f 63 6f 6d 6d 6f 6e 2f 63 68 65 63 6b 2e 70 79 74 08 00 ient/src/leap/common/check.pyt..
0640 00 00 3c 6d 6f 64 75 6c 65 3e 14 00 00 00 73 0c 00 00 00 06 01 0c 01 0c 01 0c 03 0f 03 0c 15 ..<module>....s................