Undo changes to trailing triple quotes in docstring
This commit is contained in:
@@ -494,7 +494,8 @@ def child_fun():
|
||||
If something goes wrong, the child process is expected to print
|
||||
the error and the parent process will exit with error as
|
||||
well. If things go well, the child exits and the parent
|
||||
carries on."""
|
||||
carries on.
|
||||
"""
|
||||
|
||||
try:
|
||||
pid = os.fork()
|
||||
|
@@ -117,7 +117,8 @@
|
||||
...
|
||||
|
||||
Will make Spack take compilers *only* from the user configuration, and
|
||||
the site configuration will be ignored."""
|
||||
the site configuration will be ignored.
|
||||
"""
|
||||
|
||||
import copy
|
||||
import os
|
||||
|
@@ -266,7 +266,8 @@ def from_sourcing_files(*args, **kwargs):
|
||||
parameters
|
||||
|
||||
:param \*args: list of files to be sourced
|
||||
:rtype: instance of EnvironmentModifications"""
|
||||
:rtype: instance of EnvironmentModifications
|
||||
"""
|
||||
|
||||
env = EnvironmentModifications()
|
||||
# Check if the files are actually there
|
||||
|
@@ -141,8 +141,8 @@ def create(path, specs, **kwargs):
|
||||
|
||||
This routine iterates through all known package versions, and
|
||||
it creates specs for those versions. If the version satisfies any spec
|
||||
in the specs list, it is downloaded and added to the mirror."""
|
||||
|
||||
in the specs list, it is downloaded and added to the mirror.
|
||||
"""
|
||||
# Make sure nothing is in the way.
|
||||
if os.path.isfile(path):
|
||||
raise MirrorError("%s already exists and is a file." % path)
|
||||
|
@@ -2110,8 +2110,8 @@ def format(self, format_string='$_$@$%@+$+$=', **kwargs):
|
||||
*Example:* ``$_$@$+`` translates to the name, version, and options
|
||||
of the package, but no dependencies, arch, or compiler.
|
||||
|
||||
TODO: allow, e.g., $6# to customize short hash length
|
||||
TODO: allow, e.g., $## for full hash.
|
||||
TODO: allow, e.g., ``$6#`` to customize short hash length
|
||||
TODO: allow, e.g., ``$##`` for full hash.
|
||||
"""
|
||||
color = kwargs.get('color', False)
|
||||
length = len(format_string)
|
||||
|
@@ -158,7 +158,8 @@ def satisfies(self, other):
|
||||
"""A Version 'satisfies' another if it is at least as specific and has
|
||||
a common prefix. e.g., we want gcc@4.7.3 to satisfy a request for
|
||||
gcc@4.7 so that when a user asks to build with gcc@4.7, we can find
|
||||
a suitable compiler."""
|
||||
a suitable compiler.
|
||||
"""
|
||||
|
||||
nself = len(self.version)
|
||||
nother = len(other.version)
|
||||
|
Reference in New Issue
Block a user