fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Fabric on Windows Patch


From: Christian Vest Hansen
Subject: Re: [Fab-user] Fabric on Windows Patch
Date: Sun, 15 Mar 2009 10:32:22 +0100

Applied. Thanks.

On Sun, Mar 15, 2009 at 9:28 AM, Armin Ronacher
<address@hidden> wrote:
> Hello everybody,
>
> Just noticed that recent fabric versions do not work on Windows.  The reason 
> for
> this is that fabric depends on platform dependent time-format codes.
>
> The following patch fixes this:
>
> diff --git a/fabric.py b/fabric.py
> index a7cb36f..5a4d267 100755
> --- a/fabric.py
> +++ b/fabric.py
> @@ -80,7 +80,7 @@ DEFAULT_ENV = {
>     'fab_key_filename': None,
>     'fab_new_host_key': 'accept',
>     'fab_shell': '/bin/bash -l -c',
> -    'fab_timestamp': datetime.datetime.utcnow().strftime('%F_%H-%M-%S'),
> +    'fab_timestamp': 
> datetime.datetime.utcnow().strftime('%Y_%m_%d_%H-%M-%S'),
>     'fab_print_real_sudo': False,
>     'fab_fail': 'abort',
>     'fab_quiet': False,
>
> Regards,
> Armin
>
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]