Commit d804cc9
committed
Move setting the previous pastebin content to after the upload in do_pastebin_xmlrpc().
This is in line with how I did it in do_pastebin_helper(),
and makes overall more sense. With the old flow, you could
get a dupe error just when retrying after the last upload
failed due to e.g. a network error.1 parent f514e8f commit d804cc9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
800 | | - | |
801 | | - | |
802 | 800 | | |
803 | 801 | | |
804 | 802 | | |
| |||
807 | 805 | | |
808 | 806 | | |
809 | 807 | | |
| 808 | + | |
| 809 | + | |
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| |||
0 commit comments