mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
remove dead code
This commit is contained in:
@@ -9,7 +9,6 @@ import web, redis
|
||||
|
||||
urls = (
|
||||
'/([a-f0-9]{10})', 'shortform',
|
||||
'/([a-f0-9]{64})', 'form',
|
||||
'/submit=([a-f0-9]{64})', 'payment'
|
||||
)
|
||||
|
||||
@@ -24,31 +23,6 @@ class shortform(object):
|
||||
with open("index.html","r") as f:
|
||||
return f.read() % expanded
|
||||
|
||||
class form(object):
|
||||
def GET(self, what):
|
||||
web.header("Content-type", "text/html")
|
||||
return """
|
||||
<html>
|
||||
<h1>Payment required</h1>
|
||||
Due to certificate authority policy, issuing this certificate requires a payment.
|
||||
<p>
|
||||
<hr width="70%%" />
|
||||
<p>
|
||||
A payment of <b>17.00 simoleons</b> is due now.
|
||||
<p>
|
||||
In order to process this payment, please pretend to enter a 16-digit credit-card
|
||||
number below, and then click the Submit Payment button.
|
||||
<p>
|
||||
<form action="/payment.py/submit=%s" method="GET">
|
||||
<i>Credit Card Type</i> <select name=""><option>Vista</option><option>MisterCard</option><option>Discovery</option></select> <br />
|
||||
<i>Credit Card Number</i> <input type="text" name="" style="font-family:monospace" autocomplete="off" /><br />
|
||||
<input type="submit" value="Submit Payment">
|
||||
</form>
|
||||
This payment will appear on your
|
||||
credit card statement as TRUSTIFIABLE CERTIFICATE SERVICES.
|
||||
</html>
|
||||
""" % what
|
||||
|
||||
def hexdigit(s):
|
||||
return s in "0123456789abcdef"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user