5621: os.unlink sounds better than 'rm' command
svn: r19074
This commit is contained in:
1 parent
8ced6ca00a
commit
516f94fdd8
1 file changed
+1
-1
+1
-1
@@ -289,7 +289,7 @@ def clean():
|
||||
|
||||
for h in headers():
|
||||
if os.path.isfile(h):
|
||||
os.system('''rm %s''' % h)
|
||||
os.unlink(h)
|
||||
print('Remove %(head)s' % {'head': h})
|
||||
|
||||
if os.path.isfile('python.txt'):
|
||||
|
||||
Reference in new issue
Block a user