Skip to content

append reappends existing lines (or: exists() not passing use_sudo) #341

Description

@bitprophet

Description

...at least in my environment.

When run this multiple times :

append('/var/lib/pgsql/data/pg_hba.conf', text='local all all trust', use_sudo=True)

I get :
...
# IPv6 local connections:
host all all ::1/128 ident
local all all trust
local all all trust
local all all trust

It's probably just me because it seems too big to be true, but I cannot find what I might be doing wrong.


Originally submitted by **** (dperetti) on 2011-04-22 at 03:08pm EDT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions