On 06/11/13 03:06 PM, Steve Schnepp wrote:
> tags 728840 + upstream fixed-upstream
> done

thanks for the quick response!

> On Wed, Nov 6, 2013 at 6:06 AM, Gabriel Filion <gabs...@lelutin.ca> wrote:
>> simple fix would be to add a line "import os" before line 73 like this:
> 
> Thx.
> 
> Note that I just fixed [1] the offending call instead in
> e9e9f6b63c08d6e8c98ed8d5188888fdfab5320c.
> 
> [1] http://mm0.eu/e9e9f6

that's quite okay to fix it that way. however, please note that
"environ" was not imported from os before, so I would expect this to
fail as well:

66      from os import stat, access, R_OK, F_OK
67      from os.path import join
68      from stat import ST_MTIME
69      from time import time
70      import sys
71      import re
72      
73      CACHEDIR = environ['MUNIN_PLUGSTATE']

-- 
Gabriel Filion

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to