Paul Banks

Results 30 comments of Paul Banks

@blalor that was the intention - if we default imported all the packages to avoid that then there is not much use having them as separate "optional" packages since they...

I agree we should maybe document that the anonymous import is needed in the comments added here and probably in the README though...

I think it might be better to be explicit about _not_ supporting repeated labels since they are not supported by many backends. For example Prometheus doesn't explicitly state that, but...

Golang spec says: > Package initialization—variable initialization and the invocation of init functions—happens in a single goroutine, sequentially, one package at a time. https://golang.org/ref/spec#Package_initialization So we could go without mutex...

Huh interesting, if I list `$HOME/lib/python2.6/duplicity/backends/`, b2backend.py is the only one that does NOT have a corresponding `.pyc` file. Could that indicate some error parsing it or missing dependency that...

Aha ``` $ python lib/python2.6/duplicity/backends/b2backend.py File "lib/python2.6/duplicity/backends/b2backend.py", line 204 ]: x['bucketId'] for x in resp['buckets'] ^ SyntaxError: invalid syntax ```

Line number seems to be off-by-one thanks to my previous attempts to add debug statements, is that a python 2.7 specific syntax? I can confirm same code on OS X...

Aha yes: ``` $ python Python 2.7.10 (default, Oct 23 2015, 18:05:06) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin Type "help", "copyright", "credits" or "license" for more information....

Confirmed I have this working on WebFaction now by symlinking `$HOME/bin/{python,python2}` to `/usr/local/bin/python2.7` which is installed just not default. Now it all works (still need the LD_LIBRARY_PATH though)

To add some data as well as an up-vote. The Author of logrus admits the renaming was probably a mistake but describes that "_Every_ library should use lower-case to avoid...