✏️ Fix several typos (#4599)
This commit is contained in:
1 parent
a355499467
commit
6ee8325f5b
8 files changed
+12
-12
No files matched your search
@@ -288,7 +288,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
|
||||
# TAG-NUM-gHEX
|
||||
mo = re.search(r"^(.+)-(\d+)-g([0-9a-f]+)$", git_describe)
|
||||
if not mo:
|
||||
# unparseable. Maybe git-describe is misbehaving?
|
||||
# unparsable. Maybe git-describe is misbehaving?
|
||||
pieces["error"] = "unable to parse git-describe output: '%s'" % describe_out
|
||||
return pieces
|
||||
|
||||
|
||||
@@ -2426,11 +2426,11 @@ class SoftwareUpdatePlugin(
|
||||
)
|
||||
|
||||
if check.get("update_script", None):
|
||||
# we force an exact version & python unequality check, to be able to downgrade
|
||||
# we force an exact version & python inequality check, to be able to downgrade
|
||||
result["force_exact_version"] = True
|
||||
result["release_compare"] = "python_unequal"
|
||||
elif check.get("pip", None):
|
||||
# we force python unequality check for pip installs, to be able to downgrade
|
||||
# we force python inequality check for pip installs, to be able to downgrade
|
||||
result["release_compare"] = "python_unequal"
|
||||
|
||||
if result.get("pip", None):
|
||||
|
||||
@@ -29,7 +29,7 @@ class DevelWebassetsConfig(BaseModel):
|
||||
|
||||
class DevelCacheConfig(BaseModel):
|
||||
enabled: bool = True
|
||||
"""Whether to enable caching. Defaults to true. Setting it to false will cause the UI to alway be fully rerendered on request to `/` on the server."""
|
||||
"""Whether to enable caching. Defaults to true. Setting it to false will cause the UI to always be fully rerendered on request to `/` on the server."""
|
||||
|
||||
preemptive: bool = True
|
||||
"""Whether to enable the preemptive cache."""
|
||||
|
||||
+1
-1
@@ -316,7 +316,7 @@ textarea[class*="span"],
|
||||
.row-fluid .controls-row [class*="span"] {
|
||||
float: left;
|
||||
}
|
||||
// Explicity set top padding on all checkboxes/radios, not just first-child
|
||||
// Explicitly set top padding on all checkboxes/radios, not just first-child
|
||||
.controls-row .checkbox[class*="span"],
|
||||
.controls-row .radio[class*="span"] {
|
||||
padding-top: 5px;
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@
|
||||
.input-append,
|
||||
.input-prepend {
|
||||
margin-top: 5px;
|
||||
white-space: nowrap; // preven two items from separating within a .navbar-form that has .pull-left
|
||||
white-space: nowrap; // prevent two items from separating within a .navbar-form that has .pull-left
|
||||
input {
|
||||
margin-top: 0; // remove the margin on top since it's on the parent
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
// Thumbnails
|
||||
// --------------------------------------------------
|
||||
|
||||
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
||||
// Note: `.thumbnails` and `.thumbnails > li` are overridden in responsive files
|
||||
|
||||
// Make wrapper ul behave like the grid
|
||||
.thumbnails {
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
// Float li to make thumbnails appear in a row
|
||||
.thumbnails > li {
|
||||
float: left; // Explicity set the float since we don't require .span* classes
|
||||
float: left; // Explicitly set the float since we don't require .span* classes
|
||||
margin-bottom: @baseLineHeight;
|
||||
margin-left: @gridGutterWidth;
|
||||
}
|
||||
|
||||
@@ -473,7 +473,7 @@ class PipCaller(CommandlineCaller):
|
||||
|
||||
if not output.startswith("pip"):
|
||||
self._logger.warning(
|
||||
"pip command returned unparseable output, can't determine version: {}".format(
|
||||
"pip command returned unparsable output, can't determine version: {}".format(
|
||||
output
|
||||
)
|
||||
)
|
||||
@@ -481,7 +481,7 @@ class PipCaller(CommandlineCaller):
|
||||
split_output = list(map(lambda x: x.strip(), output.split()))
|
||||
if len(split_output) < 2:
|
||||
self._logger.warning(
|
||||
"pip command returned unparseable output, can't determine version: {}".format(
|
||||
"pip command returned unparsable output, can't determine version: {}".format(
|
||||
output
|
||||
)
|
||||
)
|
||||
|
||||
Vendored
+2
-2
@@ -795,7 +795,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
|
||||
# TAG-NUM-gHEX
|
||||
mo = re.search(r'^(.+)-(\\d+)-g([0-9a-f]+)$', git_describe)
|
||||
if not mo:
|
||||
# unparseable. Maybe git-describe is misbehaving?
|
||||
# unparsable. Maybe git-describe is misbehaving?
|
||||
pieces["error"] = ("unable to parse git-describe output: '%%s'"
|
||||
%% describe_out)
|
||||
return pieces
|
||||
@@ -1384,7 +1384,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
|
||||
# TAG-NUM-gHEX
|
||||
mo = re.search(r"^(.+)-(\d+)-g([0-9a-f]+)$", git_describe)
|
||||
if not mo:
|
||||
# unparseable. Maybe git-describe is misbehaving?
|
||||
# unparsable. Maybe git-describe is misbehaving?
|
||||
pieces["error"] = "unable to parse git-describe output: '%s'" % describe_out
|
||||
return pieces
|
||||
|
||||
|
||||
Reference in new issue
Block a user