Mercurial > ctpug_test
annotate test.py @ 26:5207a0a39f43
test commit
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Tue, 02 Feb 2021 22:10:04 +0200 |
parents | 4645249b8f5e |
children | 5c38e4f82285 |
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 |
23 | 10 return None |
1
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 |
25
4645249b8f5e
Test after Ubuntu upgrade
Neil Muller <drnlmuller@gmail.com>
parents:
23
diff
changeset
|
13 def help(): |
4645249b8f5e
Test after Ubuntu upgrade
Neil Muller <drnlmuller@gmail.com>
parents:
23
diff
changeset
|
14 print("You're on your own here") |
26 | 15 print("Really") |
25
4645249b8f5e
Test after Ubuntu upgrade
Neil Muller <drnlmuller@gmail.com>
parents:
23
diff
changeset
|
16 |
4645249b8f5e
Test after Ubuntu upgrade
Neil Muller <drnlmuller@gmail.com>
parents:
23
diff
changeset
|
17 |
1
d7a061749a84
Test commit to see if CIA triggers
Neil Muller <drnlmuller@gmail.com>
parents:
diff
changeset
|
18 if __name__ == "__main__": |
2 | 19 main(sys.argv) |