Commit graph

20 commits

Author SHA1 Message Date
Darko Poljak
4c2d273f07 Unify string formatting
Use one way of string formatting: replace old `%` style with new `str.format`.

Resolve #855.
2021-03-31 08:19:34 +02:00
Darko Poljak
f984a918b9 Fix log message string formatting
Use logging message format with args, instead of direct `%` or `str.format`.

Resolve #855.
2021-03-31 08:19:28 +02:00
Darko Poljak
077989e8fd Remove annoying warnings
Those warnings don't have any specail meaning and usage.
Resolve #825.
2020-06-27 15:55:57 +02:00
Dennis Camera
ce07021580 Do not subclass object 2020-06-21 16:53:47 +02:00
Darko Poljak
151edc6398 Fix DirectoryDict getitem. 2018-10-12 19:08:36 +02:00
Darko Poljak
4d39b6af51 Add -4 and -6 params to force IPv4, IPv6 addresses respectively. 2018-02-15 20:33:36 +01:00
Darko Poljak
01d7f63fcb Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe 2017-07-19 07:55:19 +02:00
Darko Poljak
9c914308f6 Fix ssh connection multiplexing race condition #542
Increase ControlPersist to 2h.
After host run run ssh mux master exit command.
If custom remote exec/copy is specified then do nothing.
2017-07-06 12:43:17 +02:00
Darko Poljak
015861e63b pep8 2017-07-04 23:49:43 +02:00
Darko Poljak
c63ab44c9c Define better warning facility. 2017-07-04 23:49:43 +02:00
Steven Armstrong
01ca5910ec increase ControlPersist to 30 to workaround #542
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2017-07-04 23:49:27 +02:00
Darko Poljak
00a7f4af93 Separate functions for target host name and fqdn. 2017-06-23 20:03:28 +02:00
Steven Armstrong
d5b1246791 change ControlPersist from 125 to 10 seconds
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2017-02-16 22:43:27 +01:00
Darko Poljak
e6fc74c081 ugly -> bad 2016-12-03 18:12:38 +01:00
Darko Poljak
8c53ce78f5 Started the good, the bad and the ugly - code cleanup. 2016-12-03 10:46:49 +01:00
Darko Poljak
64efa04599 pep8 2016-07-05 20:44:24 +02:00
Steven Armstrong
8a4cc56266 ensure all files we create end with a single newline
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-04-22 11:04:02 +02:00
Steven Armstrong
7ab5cd35ac missing parens -> matched what we did not want to match
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-12-21 22:49:06 +01:00
Steven Armstrong
49bdd83ea1 test for feature instead of type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-12-21 22:00:57 +01:00
Nico Schottelius
c9f728e073 lib/cdist => cdist (pypi)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 17:21:58 +02:00