Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: scripts/slave/recipe_modules/uuid/api.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_modules/uuid/__init__.py ('k') | scripts/slave/recipe_modules/uuid/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/uuid/api.py
diff --git a/scripts/slave/recipe_modules/uuid/api.py b/scripts/slave/recipe_modules/uuid/api.py
deleted file mode 100644
index bf0c8130e4be181c6ee3a7593a4f31547fac1f3a..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/uuid/api.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 2014 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.
-
-import uuid
-
-from recipe_engine import recipe_api
-
-class UuidApi(recipe_api.RecipeApi):
- def random(self):
- """Generates and returns a random UUID as a string."""
- if self._test_data.enabled:
- return '00000000-0000-0000-0000-000000000000'
- else: # pragma: no cover
- return str(uuid.uuid4())
-
« no previous file with comments | « scripts/slave/recipe_modules/uuid/__init__.py ('k') | scripts/slave/recipe_modules/uuid/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698