Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed remaining uses of 'pipes' module #2404

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ganga/GangaCore/Core/GangaRepository/FixedLock.py
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
import random
import datetime
import getpass
from pipes import quote
from shlex import quote

import pickle as pickle

@@ -32,7 +32,7 @@


def lock_synch(f):
"""
"""
This decorator must be attached to a method on a ``Node`` subclass
It uses the object's lock to make sure that the object is held for the duration of the decorated function
Args:
2 changes: 1 addition & 1 deletion ganga/GangaCore/GPIDev/Lib/File/LocalFile.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
import re
import shutil
from os import path
from pipes import quote
from shlex import quote

import GangaCore.Utility.logging
from GangaCore.GPIDev.Adapters.IGangaFile import IGangaFile
2 changes: 1 addition & 1 deletion ganga/GangaCore/GPIDev/Lib/File/MassStorageFile.py
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
import inspect
import time
from fnmatch import fnmatch
from pipes import quote
from shlex import quote

from GangaCore.GPIDev.Schema import Schema, Version, SimpleItem, ComponentItem

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# FIXME empty line above needed to ensure proper indenting
from pipes import quote
from shlex import quote
import subprocess
#system command executor with subprocess
def execSyscmdSubprocessAndReturnOutputMAS(cmd):
2 changes: 1 addition & 1 deletion ganga/GangaCore/Runtime/Repository_runtime.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
Internal initialization of the repositories.
"""
import re
from pipes import quote
from shlex import quote
import os.path
from GangaCore.Utility.Config import getConfig, setConfigOption
from GangaCore.Utility.logging import getLogger