Révision ac94988a
Ajouté par Jérôme Schneider il y a plus de 12 ans
extra/modules/pyatom/pyatom.py | ||
---|---|---|
414 | 414 |
s = "%s%s%s%s" % (tfc.s_indent(), "<!-- ", self.text, " -->") |
415 | 415 |
return s |
416 | 416 |
|
417 |
assert(False, "not possible to reach this line.")
|
|
417 |
assert False, "not possible to reach this line."
|
|
418 | 418 |
|
419 | 419 |
def __nonzero__(self): |
420 | 420 |
# Returns True if there is any comment text. |
... | ... | |
456 | 456 |
(tfc.s_indent(), "<?", self.keyword, self.text, "?>") |
457 | 457 |
return s |
458 | 458 |
|
459 |
assert(False, "not possible to reach this line.")
|
|
459 |
assert False, "not possible to reach this line."
|
|
460 | 460 |
|
461 | 461 |
def __nonzero__(self): |
462 | 462 |
# Returns True if there is any keyword. |
... | ... | |
495 | 495 |
(tfc.s_indent(), "<!", self.keyword, self.text, ">") |
496 | 496 |
return s |
497 | 497 |
|
498 |
assert(False, "not possible to reach this line.")
|
|
498 |
assert False, "not possible to reach this line."
|
|
499 | 499 |
|
500 | 500 |
def __nonzero__(self): |
501 | 501 |
# Returns True if there is any keyword. |
... | ... | |
884 | 884 |
else: |
885 | 885 |
return "" |
886 | 886 |
|
887 |
assert(False, "not possible to reach this line.")
|
|
887 |
assert False, "not possible to reach this line."
|
|
888 | 888 |
return "" |
889 | 889 |
|
890 | 890 |
def s_tree(self): |
... | ... | |
983 | 983 |
return TextElement.s_contents(self, tfc) |
984 | 984 |
else: |
985 | 985 |
return "" |
986 |
assert(False, "not possible to reach this line.")
|
|
986 |
assert False, "not possible to reach this line."
|
|
987 | 987 |
|
988 | 988 |
def s_tree(self): |
989 | 989 |
lst = [] |
... | ... | |
1003 | 1003 |
tfc = TFC(level) |
1004 | 1004 |
s = "%2d) %s %s" % (level, self.s_name(), "empty Element...") |
1005 | 1005 |
return s |
1006 |
assert(False, "not possible to reach this line.")
|
|
1006 |
assert False, "not possible to reach this line."
|
|
1007 | 1007 |
|
1008 | 1008 |
|
1009 | 1009 |
|
Formats disponibles : Unified diff
Debian Squeeze support