| LEFT | RIGHT |
| 1 # coding: utf-8 | 1 # coding: utf-8 |
| 2 | 2 |
| 3 # This file is part of the Adblock Plus web scripts, | 3 # This file is part of the Adblock Plus web scripts, |
| 4 # Copyright (C) 2006-2012 Eyeo GmbH | 4 # Copyright (C) 2006-2012 Eyeo GmbH |
| 5 # | 5 # |
| 6 # Adblock Plus is free software: you can redistribute it and/or modify | 6 # Adblock Plus is free software: you can redistribute it and/or modify |
| 7 # it under the terms of the GNU General Public License version 3 as | 7 # it under the terms of the GNU General Public License version 3 as |
| 8 # published by the Free Software Foundation. | 8 # published by the Free Software Foundation. |
| 9 # | 9 # |
| 10 # Adblock Plus is distributed in the hope that it will be useful, | 10 # Adblock Plus is distributed in the hope that it will be useful, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 use_unicode=True, charset="utf8") | 44 use_unicode=True, charset="utf8") |
| 45 | 45 |
| 46 if __name__ == '__main__': | 46 if __name__ == '__main__': |
| 47 setupStderr() | 47 setupStderr() |
| 48 | 48 |
| 49 if len(sys.argv) <= 1: | 49 if len(sys.argv) <= 1: |
| 50 print >>sys.stderr, "Please specify the domain names as command line paramet
ers" | 50 print >>sys.stderr, "Please specify the domain names as command line paramet
ers" |
| 51 sys.exit(1) | 51 sys.exit(1) |
| 52 | 52 |
| 53 forceDomains(sys.argv[1:]) | 53 forceDomains(sys.argv[1:]) |
| LEFT | RIGHT |