Skip to content

Commit

Permalink
packagin: build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
machacekondra committed Oct 13, 2015
1 parent 541790e commit 5f6981f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[bdist_rpm]
release = 1.1.1
release = 1
packager = Ondra Machacek <[email protected]>
doc_files = README.md
description = 'Tool to manage your windows machines remotely'
requires=python-argparse,pywinrm
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@

setup(
name='winremote',
version='1.1.1',
version='1.1.2',
description='Tool to manage your windows machines remotely',
long_description=long_description,
url='https://github.com/machacekondra/winremote',
author='Ondra Machacek',
author_email='[email protected]',
license='GPLv3+',
keywords='windows winrm',
install_requires=['argparse', 'pywinrm', 'pypandoc'],
install_requires=['argparse', 'pywinrm'],
requires=['pypandoc', 'pywinrm', 'argparse'],
packages=find_packages(),
entry_points={
'console_scripts': [
Expand Down
2 changes: 1 addition & 1 deletion winremote/winremote.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ def run_cmd(self, cmd, params=[]):
:returns: result of command, status_code, std_out, std_err
:rtype: tuple
"""
r = self._session.run_cmd(cmd, params)
self.logger.debug(
'Running cmd: %s, Out: %s, Err: %s', cmd, r.std_out, r.std_err
)
r = self._session.run_cmd(cmd, params)
if r.status_code:
self.logger.error('Error running command %s: %s', cmd, r.std_err)

Expand Down

0 comments on commit 5f6981f

Please sign in to comment.