Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 9cee41def4bbaddc089ea02f85b2ed028ac5a549
      https://github.com/lxc/lxc/commit/9cee41def4bbaddc089ea02f85b2ed028ac5a549
  Author: Aron Podrigal <ar...@guaranteedplus.com>
  Date:   2016-04-14 (Thu, 14 Apr 2016)

  Changed paths:
    M src/python-lxc/lxc/__init__.py

  Log Message:
  -----------
  Fixed python-lxc reference to var before assignment

```
>>> c = lxc.Container('ct')
>>> c.create('debian', args=('-r', 'jessie'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 229, in
create
    template_args['args'] = tuple(tmp_args)
UnboundLocalError: local variable 'tmp_args' referenced before
assignment
```

Signed-off-by: Aron Podrigal <ar...@guaranteedplus.com>


  Commit: da1eace1defcb55a6c0eb63c3b2b1ba8092325ce
      https://github.com/lxc/lxc/commit/da1eace1defcb55a6c0eb63c3b2b1ba8092325ce
  Author: Stéphane Graber <stgra...@stgraber.org>
  Date:   2016-04-14 (Thu, 14 Apr 2016)

  Changed paths:
    M src/python-lxc/lxc/__init__.py

  Log Message:
  -----------
  Merge pull request #974 from ar45/lxc_python_create_with_tuple

Fixed python-lxc reference to var before assignment


Compare: https://github.com/lxc/lxc/compare/8157403674e0...da1eace1defc
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to