Mercurial > ctpug_test
annotate test.py @ 5:e3fee6ceaf19
Test tweaked checker exception handling
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Mon, 07 May 2012 16:57:47 +0200 |
parents | 8fb524440907 |
children | f884bb24417d |
rev | line source |
---|---|
1
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
1 #!/usr/bin/python |
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
2 |
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
3 """Test script to be used for hghooks debugging""" |
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
4 |
3
8cb24da1f91c
Pep8 but not pyflakes clean. Should still fail
Neil Muller <drnlmuller@gmail.com>
parents:
2
diff
changeset
|
5 import sys |
2 | 6 |
1
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
7 |
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
8 def main(args): |
3
8cb24da1f91c
Pep8 but not pyflakes clean. Should still fail
Neil Muller <drnlmuller@gmail.com>
parents:
2
diff
changeset
|
9 print args |
1
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
10 |
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
11 |
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
12 if __name__ == "__main__": |
2 | 13 main(sys.argv) |
5
e3fee6ceaf19
Test tweaked checker exception handling
Neil Muller <drnlmuller@gmail.com>
parents:
4
diff
changeset
|
14 # indent error |
e3fee6ceaf19
Test tweaked checker exception handling
Neil Muller <drnlmuller@gmail.com>
parents:
4
diff
changeset
|
15 print 'hello' |