Closed andyfase closed 7 years ago
Example.
Password in file "andy/testgroup"
Before this change ./pass-filter.py testgrou Output:
./pass-filter.py testgrou
<?xml version="1.0"?> <items> <item uid="andy/testgrou" arg="andy/testgrou" autocomplete="andy/testgrou"> <title>testgrou</title> <subtitle>andy/testgrou</subtitle> </item> </items>
After change ./pass-filter.py testgrou Output:
<?xml version="1.0"?> <items> <item uid="andy/testgroup" arg="andy/testgroup" autocomplete="andy/testgroup"> <title>testgroup</title> <subtitle>andy/testgroup</subtitle> </item> </items>
Notice the 'p' at the end of "group" is being stripped. This is due to the use of rstrip.
Thank you. Sorry it took so long, I had it in my memory and then forgot about it...
Example.
Password in file "andy/testgroup"
Before this change
./pass-filter.py testgrou
Output:After change
./pass-filter.py testgrou
Output:Notice the 'p' at the end of "group" is being stripped. This is due to the use of rstrip.