updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / trash-cli / empty_days.patch
blob4922ccb1c752f3df3ab6dbb4c44cd91f464f0876
1 diff -ru trash-cli-0.11.3-r315/trashcli/cli/empty.py trash-cli-0.11.3-r315_fixed//trashcli/cli/empty.py
2 --- trash-cli-0.11.3-r315/trashcli/cli/empty.py 2010-06-01 16:44:49.000000000 -0300
3 +++ trash-cli-0.11.3-r315_fixed//trashcli/cli/empty.py 2010-12-12 19:53:49.501513708 -0200
4 @@ -55,9 +55,9 @@
5 if len(args) > 1 :
6 parser.print_usage()
7 parser.exit()
8 - elif len(args) > 1 :
9 + elif len(args) == 1 :
10 try :
11 - days=int(args[1])
12 + days=int(args[0])
13 except :
14 parser.print_usage()