Revision 3d5906fe
b/astakosclient/astakosclient/keypath.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
import copy |
|
35 |
|
|
34 | 36 |
|
35 | 37 |
def dict_merge(a, b): |
36 | 38 |
""" |
b/snf-branding/setup.py | ||
---|---|---|
36 | 36 |
distribute_setup.use_setuptools() |
37 | 37 |
|
38 | 38 |
import os |
39 |
import sys |
|
39 | 40 |
|
40 | 41 |
from setuptools import setup, find_packages |
41 | 42 |
from fnmatch import fnmatchcase |
b/snf-cyclades-app/setup.py | ||
---|---|---|
36 | 36 |
distribute_setup.use_setuptools() |
37 | 37 |
|
38 | 38 |
import os |
39 |
import sys |
|
39 | 40 |
|
40 | 41 |
from distutils.util import convert_path |
41 | 42 |
from fnmatch import fnmatchcase |
b/snf-cyclades-app/synnefo/api/util.py | ||
---|---|---|
377 | 377 |
|
378 | 378 |
def render_meta(request, meta, status=200): |
379 | 379 |
if request.serialization == 'xml': |
380 |
key, val = meta.items()[0] |
|
380 | 381 |
data = render_to_string('meta.xml', dict(key=key, val=val)) |
381 | 382 |
else: |
382 | 383 |
data = json.dumps(dict(meta=meta)) |
b/snf-cyclades-app/synnefo/logic/management/commands/pool-modify.py | ||
---|---|---|
63 | 63 |
base = options['base'] |
64 | 64 |
add_reserved = options['add-reserved'] |
65 | 65 |
remove_reserved = options['remove-reserved'] |
66 |
size = options['size'] |
|
66 | 67 |
|
67 | 68 |
if not type_: |
68 | 69 |
raise CommandError("Type of pool is mandatory") |
b/snf-pithos-app/setup.py | ||
---|---|---|
36 | 36 |
distribute_setup.use_setuptools() |
37 | 37 |
|
38 | 38 |
import os |
39 |
import sys |
|
39 | 40 |
|
40 | 41 |
from distutils.util import convert_path |
41 | 42 |
from fnmatch import fnmatchcase |
b/snf-pithos-backend/pithos/backends/lib/sqlite/public.py | ||
---|---|---|
75 | 75 |
) |
76 | 76 |
q = "insert into public(path, active, url) values(?, 1, ?)" |
77 | 77 |
self.execute(q, (path, url)) |
78 |
if sqlite3_changes() != 0: |
|
79 |
logger.info('Public url set for path: %s' % path) |
|
78 |
logger.info('Public url set for path: %s' % path) |
|
80 | 79 |
|
81 | 80 |
def public_unset(self, path): |
82 | 81 |
q = "delete from public where path = ?" |
b/snf-pithos-backend/setup.py | ||
---|---|---|
36 | 36 |
distribute_setup.use_setuptools() |
37 | 37 |
|
38 | 38 |
import os |
39 |
import sys |
|
39 | 40 |
|
40 | 41 |
from distutils.util import convert_path |
41 | 42 |
from fnmatch import fnmatchcase |
Also available in: Unified diff