mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
16 lines
221 B
Python
Executable File
16 lines
221 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import web
|
|
|
|
from api import Lock, MachineLock
|
|
|
|
urls = (
|
|
'/lock', 'Lock',
|
|
'/lock/(.*)', 'MachineLock',
|
|
)
|
|
|
|
app = web.application(urls, globals())
|
|
|
|
if __name__ == "__main__":
|
|
app.run()
|