Black098 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

zen_files.py #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There's an infinite loop in locate_file(), on line 37:
parent = os.path.dirname(editor_file)
should be
parent = os.path.dirname(parent)

But there still will be an infinite loop because os.path.dirname('/') == '/'.

I patched it here:
http://github.com/fmarcia/zen-coding-gedit/commit/6a473046b80ba63de7705c6a55082b
750f206474#diff-1

hth

Original issue reported on code.google.com by franck.marcia@gmail.com on 26 May 2010 at 9:46

GoogleCodeExporter commented 9 years ago
Fixed in v0.7

Original comment by serge....@gmail.com on 24 Jan 2011 at 11:19

GoogleCodeExporter commented 9 years ago

Original comment by serge....@gmail.com on 24 Jan 2011 at 11:19