From: W. Trevor King Date: Sat, 3 Mar 2012 17:39:33 +0000 (-0500) Subject: Fix args.coordfiles -> args.placefiles in maplabel.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0c911714efb96fa9c58152f226c877ec1dda957;p=blog.git Fix args.coordfiles -> args.placefiles in maplabel.py. I'm not sure how I missed this when I wrote the original script. --- diff --git a/posts/geoscript/maplabel.py b/posts/geoscript/maplabel.py index 39b5d69..f0f45d8 100755 --- a/posts/geoscript/maplabel.py +++ b/posts/geoscript/maplabel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2011 W. Trevor King +# Copyright (C) 2011-2012 W. Trevor King # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -83,7 +83,7 @@ if __name__ == '__main__': _pylab.hold(True) - for filename in args.coordfiles: + for filename in args.placefiles: points = list(resolve_points(open(filename, 'r').readlines())) plot_points(points)