keep track of what has moved to py3
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 19 Mar 2015 20:16:53 +0000 (21:16 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 19 Mar 2015 20:16:53 +0000 (21:16 +0100)
15 files changed:
system/Completer.py
system/LocalSubstrate.inria.py
system/TestSlice.py
system/config_bignode.py
system/config_default.py
system/config_dual.py
system/config_no_initscript.py
system/config_no_omf.py
system/config_quad.py
system/config_resa.py
system/config_sfadebug.py
system/config_sfavoid.py
system/config_triangle.py
system/tcptest.py
system/utils.py

index 61ef81d..337e4d9 100755 (executable)
@@ -1,4 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
+# -*- python3 -*-
+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2015 INRIA 
+
 import sys, time
 from datetime import datetime, timedelta
 
index e102692..2562d67 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/python3 -u
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # this is only an example file
 # the actual file is installed in your testmaster box as /root/LocalTestResources.py
index c165b39..d5af87e 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 import utils
 import os, os.path
index 3d15f2f..6ee9043 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2012 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # allow one hour for the node to install
 
index 103fcc7..8fd549a 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # a configuration module is expected:
 # (*) to define a config method
index 8b6d918..bf538c4 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # just overwrite options.size to be 2 and re-use the default config
 import config_default
index 206d698..ffc0a58 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2012 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # allow one hour for the node to install
 
index 2cc2b94..8d224ef 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # remove slice_spec['omf-friendly'] 
 #
index 12d6fe2..c3a0922 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # re-use the default config with 3 myplc's and 
 # 3 SFA's for checking antiloop on some decent scale
index 27b2c76..93522fb 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # a configuration module is expected:
 # (*) to define a config method
index a9a5a7c..33dd54d 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2012 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # increment SFA_API_LOGLEVEL on all incoming plc_spec's
 
index 90b7fb5..5563db6 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2012 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # this config is defined to run on top of another one 
 # and just sets the generic flavour to 'void'
index 91c79e4..acce24f 100644 (file)
@@ -1,5 +1,6 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
 # re-use the default config with 3 myplc's and 
 # 3 SFA's for checking antiloop on some decent scale
index e5ff92e..abdc6fb 100755 (executable)
@@ -4,6 +4,11 @@
 # Copyright (C) 2010 INRIA 
 #
 
+# this is a small and simple standalone utility
+# designed to run in slice-space
+# we keep this in python2 for now until python3
+# can be taken for granted in sliceimage
+
 from __future__ import print_function
 
 import sys
index b7fd8ef..51205bd 100644 (file)
@@ -1,7 +1,13 @@
+# -*- python3 -*-
 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 2010 INRIA 
+# Copyright (C) 2015 INRIA 
 #
-import time, os, re, glob, sys
+import sys
+import time
+import os
+import re
+import glob
+import subprocess
 from pprint import PrettyPrinter
 
 options={}