avoid these annoying .pyc files
authorRalf Jung <post@ralfj.de>
Tue, 17 Jul 2012 16:41:04 +0000 (18:41 +0200)
committerRalf Jung <post@ralfj.de>
Tue, 17 Jul 2012 16:41:04 +0000 (18:41 +0200)
kdebuildpy.py

index d7e81588f15f4c36d4a06136566b4ab5309efa35..3fd5812579751eb08e3ad6e111c791109b30a601 100755 (executable)
@@ -23,6 +23,7 @@ args = parser.parse_args()
 
 # load config
 config = imp.load_source('config', args.config)
 
 # load config
 config = imp.load_source('config', args.config)
+os.remove(args.config+'c') # remove compiled python file
 projects = OrderedDict() # all projects
 workProjects = [] # projects we work on
 
 projects = OrderedDict() # all projects
 workProjects = [] # projects we work on