[augeas-devel] [PATCH] test: make sure local augeas.py is used

Raphaël Pinson raphink at gmail.com
Tue Dec 28 10:42:01 UTC 2010


Thank you. Committed as b9a20632d1be5208587aac0e37aaa03be0bf2a65

Raphaël



On Thu, Dec 23, 2010 at 10:54 PM,  <apevec at gmail.com> wrote:
> From: Alan Pevec <apevec at redhat.com>
>
> ---
>  test/test_augeas.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/test/test_augeas.py b/test/test_augeas.py
> index bf93503..1bc38fe 100644
> --- a/test/test_augeas.py
> +++ b/test/test_augeas.py
> @@ -6,7 +6,7 @@ __mydir = os.path.dirname(sys.argv[0])
>  if not os.path.isdir(__mydir):
>     __mydir = os.getcwd()
>
> -sys.path.append(__mydir + "/..")
> +sys.path.insert(0, __mydir + "/..")
>
>  import augeas
>
> --
> 1.7.2.3
>
> _______________________________________________
> augeas-devel mailing list
> augeas-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/augeas-devel
>




More information about the augeas-devel mailing list