summaryrefslogtreecommitdiffstats
path: root/remoting/tools/uuidgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/tools/uuidgen.py')
-rwxr-xr-xremoting/tools/uuidgen.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/remoting/tools/uuidgen.py b/remoting/tools/uuidgen.py
new file mode 100755
index 0000000..ed1e415
--- /dev/null
+++ b/remoting/tools/uuidgen.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+uuidgen.py -- UUID generation utility.
+"""
+
+import sys
+import uuid
+
+def main():
+ print uuid.uuid4()
+ return 0
+
+if __name__ == '__main__':
+ sys.exit(main())