mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
Works fine on Python 3.
This commit is contained in:
parent
b69902091a
commit
744f9bab4e
@ -1,13 +1,18 @@
|
||||
#! /usr/bin/python
|
||||
|
||||
# ./check-debugging.py src
|
||||
"""
|
||||
Checks for defer.setDebugging().
|
||||
|
||||
Runs on Python 3.
|
||||
|
||||
Usage: ./check-debugging.py src
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import sys, re, os
|
||||
|
||||
ok = True
|
||||
umids = {}
|
||||
|
||||
for starting_point in sys.argv[1:]:
|
||||
for root, dirs, files in os.walk(starting_point):
|
||||
|
@ -1,4 +1,10 @@
|
||||
#! /usr/bin/python
|
||||
#! /usr/bin/python3
|
||||
|
||||
"""
|
||||
Ensure UMIDS are unique.
|
||||
|
||||
This runs on Python 3.
|
||||
"""
|
||||
|
||||
# ./check-umids.py src
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user