Control: tags -1 - patch + moreinfo

Hi Eric,

I'm preparing a new Debian package for inosync and was looking at your
bug report:

> line 134:
> add:
> 
>   if configfile.startswith("."):
>      configfile = configfile.strip(".")
> 
> right after the
> 
>   if configfile.endswith(".py"):

I've tried your patch, but it doesn't work for me, I get the following
error:

$ inosync -p -c /tmp/.config.py 
Traceback (most recent call last):
  File "/usr/bin/inosync", line 198, in <module>
    main()
  File "/usr/bin/inosync", line 178, in main
    load_config(options.config)
  File "/usr/bin/inosync", line 119, in load_config
    exec("import %s as __config__" % configfile)
  File "<string>", line 1, in <module>
ImportError: No module named config


So python apparently looks for a file named "config.py", not
".config.py".

Did you have success with your patch?

 - Carsten

Reply via email to