1.1 --- a/lplc Fri Jun 22 17:14:22 2018 +0200
1.2 +++ b/lplc Sat Jun 23 18:01:56 2018 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Lichen Python-like compiler tool.
1.6
1.7 -Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -99,6 +99,9 @@
1.13
1.14 "Remove 'dirname' and its contents."
1.15
1.16 + if not isdir(dirname):
1.17 + return
1.18 +
1.19 for filename in listdir(dirname):
1.20 pathname = join(dirname, filename)
1.21 if isdir(pathname):