hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
8b416558945350363664a029154a8c284b72ff6a
diff --git a/dvc/path_info.py b/dvc/path_info.py index <HASH>..<HASH> 100644 --- a/dvc/path_info.py +++ b/dvc/path_info.py @@ -317,15 +317,9 @@ class HTTPURLInfo(URLInfo): ) -# See https://github.com/shizacat/dvc/blob/remote-webdav/dvc/path_info.py -class WebDAVURLInfo(HTTPURLInfo): +class WebDAVURLInfo(UR...
Derive WebDAVURLInfo from URLInfo instead of HTTPURLInfo (#<I>) Unused, empty http extra parts (params,query,fragment) cause problems with pushing/pulling - lead to violation of the assumption where to look for hash values in file/path names. Context: <URL>
iterative_dvc
train
py
77942328a0a68aec6b9422e58dd6771f3a17fbcb
diff --git a/lib/collection/request-auth/awsv4.js b/lib/collection/request-auth/awsv4.js index <HASH>..<HASH> 100644 --- a/lib/collection/request-auth/awsv4.js +++ b/lib/collection/request-auth/awsv4.js @@ -67,7 +67,7 @@ module.exports = { _.map(signedData.headers, function (value, key) { // TOD...
ensure that aws auth does not add duplicate host header
postmanlabs_postman-collection
train
js
10590517e04ee4162a997a2b4864a985aac189cc
diff --git a/value/src/it/functional/src/main/java/com/google/auto/value/SimpleValueType.java b/value/src/it/functional/src/main/java/com/google/auto/value/SimpleValueType.java index <HASH>..<HASH> 100644 --- a/value/src/it/functional/src/main/java/com/google/auto/value/SimpleValueType.java +++ b/value/src/it/functiona...
Fix 3 ErrorProneStyle findings: * A summary fragment is required; consider using the value of the @return block as a summary fragment instead. ------------- Created by MOE: <URL>
google_auto
train
java
6ef251d9e9ca538f68bf1899b12c9d96453f2429
diff --git a/lib/sup/util.rb b/lib/sup/util.rb index <HASH>..<HASH> 100644 --- a/lib/sup/util.rb +++ b/lib/sup/util.rb @@ -1,3 +1,5 @@ +# encoding: utf-8 + require 'thread' require 'lockfile' require 'mime/types' @@ -113,6 +115,25 @@ module RMail end class Header + + # Convert to ASCII before trying to ma...
patch RMail field parser to use UTF-8 regexps and fix_encoding before parsing field
sup-heliotrope_sup
train
rb
d3bd3e0e70fc8c66881b94041e40cde807cf3502
diff --git a/src/components/link.js b/src/components/link.js index <HASH>..<HASH> 100644 --- a/src/components/link.js +++ b/src/components/link.js @@ -339,7 +339,7 @@ registerShader('portal', { 'vec2 sampleUV;', 'float borderThickness = clamp(exp(-vDistance / 50.0), 0.6, 0.95);', 'sampleUV.y = satu...
flipped the sign on sampleUV.x in the Portal shader used by the link component (#<I>)
aframevr_aframe
train
js
24a851fc451307b161ef7afc92f059a076b2e5a7
diff --git a/spec/overcommit/hook/pre_commit/line_endings_spec.rb b/spec/overcommit/hook/pre_commit/line_endings_spec.rb index <HASH>..<HASH> 100644 --- a/spec/overcommit/hook/pre_commit/line_endings_spec.rb +++ b/spec/overcommit/hook/pre_commit/line_endings_spec.rb @@ -24,7 +24,7 @@ describe Overcommit::Hook::PreCommi...
Quiet LineEndings spec
sds_overcommit
train
rb
aff2a5a22a1ecbf381184a5e81741365a661a533
diff --git a/src/RequestBuilder.php b/src/RequestBuilder.php index <HASH>..<HASH> 100644 --- a/src/RequestBuilder.php +++ b/src/RequestBuilder.php @@ -117,7 +117,7 @@ class RequestBuilder $action['httpMethod'], $uri, ['Content-Type' => 'application/json'], - $body ? jso...
pass null instead of empty array to Request (#<I>)
googleapis_google-cloud-php
train
php
8e992733426540e940415a63e9dae6f36611312d
diff --git a/eZ/Bundle/EzPublishLegacyBundle/EzPublishLegacyBundle.php b/eZ/Bundle/EzPublishLegacyBundle/EzPublishLegacyBundle.php index <HASH>..<HASH> 100644 --- a/eZ/Bundle/EzPublishLegacyBundle/EzPublishLegacyBundle.php +++ b/eZ/Bundle/EzPublishLegacyBundle/EzPublishLegacyBundle.php @@ -10,8 +10,6 @@ namespace eZ\B...
Removed unused "use" statements
ezsystems_ezpublish-kernel
train
php
306a7a1b52860f699d98f2a3b3439424f7bfe820
diff --git a/classes/Brave/Auth/CoreAuthHandler.php b/classes/Brave/Auth/CoreAuthHandler.php index <HASH>..<HASH> 100644 --- a/classes/Brave/Auth/CoreAuthHandler.php +++ b/classes/Brave/Auth/CoreAuthHandler.php @@ -9,7 +9,7 @@ namespace Brave\Auth; class CoreAuthHandler implements \Requests_Auth { - private $debug ...
API should have debug disabled by default so people checking it out for production use can use it right away
bravecollective_php-api
train
php
161f352838e5761ebaeb3ce3ed57048681ca7352
diff --git a/GPy/core/parameterization/index_operations.py b/GPy/core/parameterization/index_operations.py index <HASH>..<HASH> 100644 --- a/GPy/core/parameterization/index_operations.py +++ b/GPy/core/parameterization/index_operations.py @@ -95,6 +95,9 @@ class ParameterIndexOperations(object): def __getitem__(se...
delete dangling fixed attribute in constraints
SheffieldML_GPy
train
py
9dda59d3931bddc41d5880658004edd048a56f3f
diff --git a/twtxt/__init__.py b/twtxt/__init__.py index <HASH>..<HASH> 100644 --- a/twtxt/__init__.py +++ b/twtxt/__init__.py @@ -9,4 +9,4 @@ """ -__version__ = '1.2.2' +__version__ = '1.3.0-dev'
Get back to track with <I>-0-dev
buckket_twtxt
train
py
7b50a13982eff60c945eb1dd69c0f5e7372d27ce
diff --git a/pulsar/apps/__init__.py b/pulsar/apps/__init__.py index <HASH>..<HASH> 100644 --- a/pulsar/apps/__init__.py +++ b/pulsar/apps/__init__.py @@ -622,12 +622,9 @@ The application is now in the arbiter but has not yet started.''' def configure_logging(self, config = None): """Set the logging confi...
debug flag does not set the logging level
quantmind_pulsar
train
py
372bd2d63451a1b23a0a850e7af3cf65d389d124
diff --git a/models/deployment_manifest.go b/models/deployment_manifest.go index <HASH>..<HASH> 100644 --- a/models/deployment_manifest.go +++ b/models/deployment_manifest.go @@ -39,8 +39,8 @@ type manifestNetwork struct { type manifestResourcePool struct { Name string NetworkName string `yaml:"netw...
resource_pools[].stemcell has .name/.version
cloudfoundry-community_gogobosh
train
go
836379157b5164bd0c2d6b06d3e92ab69b62d83b
diff --git a/src/server/public/scripts/modules/FormCreate.js b/src/server/public/scripts/modules/FormCreate.js index <HASH>..<HASH> 100755 --- a/src/server/public/scripts/modules/FormCreate.js +++ b/src/server/public/scripts/modules/FormCreate.js @@ -176,7 +176,7 @@ export default class FormCreate { }.bind(thi...
fix: bug abejs form multiple precontrib was selected on queryselector for structure path url
abecms_abecms
train
js
a1ba524b85bf5473e6c61dd006e6262853cdba65
diff --git a/test/test_helper.rb b/test/test_helper.rb index <HASH>..<HASH> 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,10 @@ require 'simplecov' require 'simplecov-console' SimpleCov.formatter = SimpleCov::Formatter::Console -SimpleCov.start +SimpleCov.start do + add_filter '.bundle/' + ...
Do not analyze .bundle/ and test/ files during simplecov analysis
andersondias_attributes_sanitizer
train
rb
007cccd93214f86abad3047b2b062e1eb89ab452
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ setup( #test_suite = 'setuptest.setuptest.SetupTestSuite', #cmdclass = {'test': test}, url = __github_url__, - download_url = "%s/archive/v%s.tar.gz" % (__github_url__, version), + download_...
update github url to use tarball which is autogenerated with git tag on github
hobson_aima
train
py
359e53f53fac49691a71ad3e20dea32c33c485a0
diff --git a/lib/dbf/table.rb b/lib/dbf/table.rb index <HASH>..<HASH> 100644 --- a/lib/dbf/table.rb +++ b/lib/dbf/table.rb @@ -134,7 +134,7 @@ module DBF # @param [optional String] path Defaults to basename of dbf file def to_csv(path = nil) path = File.basename(@data.path, '.dbf') + '.csv' if path.nil...
removed force quotes as csv export option
infused_dbf
train
rb
ecb69a230065abe2fe5f91799a72928579ee27d8
diff --git a/memprof/__init__.py b/memprof/__init__.py index <HASH>..<HASH> 100644 --- a/memprof/__init__.py +++ b/memprof/__init__.py @@ -17,4 +17,4 @@ from .memprof import * import pkg_resources -__version__ = pkg_resources.require("memprof")[0].version +__version__ = pkg_resources.get_distribution("memprof").ver...
use recommended way of getting the version number pkg_resources.require() should not be called directly, it raises DistributionNotFound() for tornado and nose in Debian (and probably others). get_distribution() gives you the version as well and is not recommended against in the documentation, so use it.
jmdana_memprof
train
py
353fa86d2091aba73a8544ea442f6e3f394ccb2d
diff --git a/src/Fraction.php b/src/Fraction.php index <HASH>..<HASH> 100644 --- a/src/Fraction.php +++ b/src/Fraction.php @@ -178,13 +178,6 @@ class Fraction $a = $this->numerator; $b = $this->denominator; - // if the gmp_gcd function is available, use it, on the assumption - // that ...
Commenting then removing call to gmp_gcd Commenting out call to gmp_gcd Removing call to gmp_gcd
phospr_fraction
train
php
fd92ff7dc3975223c6af024511400f84365730db
diff --git a/lib/shikashi/sandbox.rb b/lib/shikashi/sandbox.rb index <HASH>..<HASH> 100644 --- a/lib/shikashi/sandbox.rb +++ b/lib/shikashi/sandbox.rb @@ -40,6 +40,7 @@ module Shikashi @privileges.allow_method :eval @privileges.allow_exceptions + @privileges.object(SecurityError).allow :new en...
added default permissions to call SecurityError.new for internal security errors
tario_shikashi
train
rb
c1be150dbf6bf1844f6de59caef2c89cac5993e0
diff --git a/ns/namespace.go b/ns/namespace.go index <HASH>..<HASH> 100644 --- a/ns/namespace.go +++ b/ns/namespace.go @@ -112,8 +112,10 @@ func GetValueByNamespace(object interface{}, ns []string) interface{} { fmt.Printf("Could not find tag for field{%s}\n", field) return nil } + // remove omitempty fro...
Remove everything after the first coma from the tag Currently we it's removing ",omitempty" only. I found out that some people use ", omitempty" so the tag wouldn't match the `current` element.
intelsdi-x_snap-plugin-utilities
train
go
dd372beafac75fd92d1d601bad3a6a5b98bff61c
diff --git a/src/Config.php b/src/Config.php index <HASH>..<HASH> 100644 --- a/src/Config.php +++ b/src/Config.php @@ -442,7 +442,7 @@ class Config // when adding relations, make sure they're added by their slug. Not their 'name' or 'singular name'. if (!empty($contentType['relations']) && is_array(...
Only use the array keys if that's all we need
bolt_bolt
train
php
e419cc0852dd46704326b281c01788b568861fac
diff --git a/worker/uniter/jujuc/action-get.go b/worker/uniter/jujuc/action-get.go index <HASH>..<HASH> 100644 --- a/worker/uniter/jujuc/action-get.go +++ b/worker/uniter/jujuc/action-get.go @@ -1,4 +1,4 @@ -// Copyright 2012, 2013 Canonical Ltd. +// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICE...
Corrected copyright date on action-get files
juju_juju
train
go,go
61658d1ad33736c972529c74a3bb53f5ed4ef02a
diff --git a/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java b/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java index <HASH>..<HASH> 100644 --- a/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java +++ b/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java @@ -733,6 +733,7 @@ public cl...
fix Issue #<I>. The spec says that calling close() on a closed connection is a noop. (#<I>) * fix Issue #<I>. The spec says that calling close() on a closed connection is a noop.
pgjdbc_pgjdbc
train
java
f1de196740d00803594a51f1bfac9ec6a91e73c5
diff --git a/salt/states/cron.py b/salt/states/cron.py index <HASH>..<HASH> 100644 --- a/salt/states/cron.py +++ b/salt/states/cron.py @@ -150,6 +150,13 @@ from salt.modules.cron import ( ) +def __virtual__(): + if 'cron.list_tab' in __salt__: + return True + else: + return (False, 'cron module...
Add virtual func for cron state module This prevents a traceback when you attempt to use a cron state without cron being installed.
saltstack_salt
train
py
a8949ed70875a7e38ea570308adf9b29ea132660
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,6 @@ -# encoding: utf-8 +# frozen_string_literal: true -if RUBY_VERSION > '1.9' and (ENV['COVERAGE'] || ENV['TRAVIS']) +if ENV['COVERAGE'] || ENV['TRAVIS'] require 'simp...
Change to stop detecting ruby version
piotrmurach_tty-platform
train
rb
86fa8572ce47e5aad595a8e0e883316421b28930
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,8 +15,7 @@ setup(name='panphon', 'numpy', 'editdistance', 'munkres'], - scripts=['panphon/bin/apply_diacritics.py', - 'panphon/b...
Removed superfluous file names from script section of setup.py
dmort27_panphon
train
py
637e6dcb2e3c85b1bf91f9367ae98e20e4dd4c26
diff --git a/bitcoin/core.py b/bitcoin/core.py index <HASH>..<HASH> 100644 --- a/bitcoin/core.py +++ b/bitcoin/core.py @@ -41,7 +41,7 @@ class Output(SerializableMixin): def get_script_class(cls): return getattr(cls, 'script_class', Script) - def serialize(self, type_, version, chain, height): + d...
Remove extra parameters for serialization which are not currently being used.
maaku_python-bitcoin
train
py
bdda82edae69268670e2bd1e7ab6c7584e9da0eb
diff --git a/ykman/otp.py b/ykman/otp.py index <HASH>..<HASH> 100644 --- a/ykman/otp.py +++ b/ykman/otp.py @@ -75,6 +75,7 @@ class PrepareUploadError(Enum): # Defined here CONNECTION_FAILED = 'Failed to open HTTPS connection' NOT_FOUND = 'Upload request not recognized by server' + SERVICE_UNAVAILABLE ...
Handle status <I> from upload
Yubico_yubikey-manager
train
py
5528a2672c8332966b22c24f06b5a5c5c66423f5
diff --git a/lib/configParser.js b/lib/configParser.js index <HASH>..<HASH> 100644 --- a/lib/configParser.js +++ b/lib/configParser.js @@ -32,7 +32,7 @@ var ConfigParser = { }).sort(function(a, b) { return parseFloat(a) - parseFloat(b); }); - if (verStr == 'current') { + if (verStr == 'current' |...
support 'latest' in short config
browserstack_browserstack-runner
train
js
137b02b27f3998111240ec3abb79c4c83b4e0f4d
diff --git a/nosqlite.py b/nosqlite.py index <HASH>..<HASH> 100644 --- a/nosqlite.py +++ b/nosqlite.py @@ -240,7 +240,6 @@ class Collection(object): to 'baz' and either the 'foo' key is an even number between 0 and 10 or is an odd number greater than 10. """ - matches = [] # A list ...
handle error if requested path does not exist
shaunduncan_nosqlite
train
py
2475c6944f9820cb1c9d2149ba06b2d7be7c6c45
diff --git a/engine/node/oo-node-impl/src/main/java/com/hp/oo/engine/node/services/WorkerNodeServiceImpl.java b/engine/node/oo-node-impl/src/main/java/com/hp/oo/engine/node/services/WorkerNodeServiceImpl.java index <HASH>..<HASH> 100644 --- a/engine/node/oo-node-impl/src/main/java/com/hp/oo/engine/node/services/WorkerN...
Make addGroupToWorker require topologyManage permission. Fixes bug #<I>
CloudSlang_score
train
java
b2d2ca69063507b82b8cff13b5bd62593c16f9c9
diff --git a/opal/browser/dom/node.rb b/opal/browser/dom/node.rb index <HASH>..<HASH> 100644 --- a/opal/browser/dom/node.rb +++ b/opal/browser/dom/node.rb @@ -59,7 +59,7 @@ class Node if native?(node) `#@native.appendChild(node)` elsif node.respond_to? :each - node.each { |n| add_child(n) } + ...
dom/node: use #<< internally instead of #add_child
opal_opal-browser
train
rb
3bc49c53d01e337df1e9d70d53816480ce806300
diff --git a/pycoin/ecdsa/Curve.py b/pycoin/ecdsa/Curve.py index <HASH>..<HASH> 100644 --- a/pycoin/ecdsa/Curve.py +++ b/pycoin/ecdsa/Curve.py @@ -81,10 +81,11 @@ class Curve(object): result = p while i > 1: result += result - if (e3 & i) != 0 and (e & i) == 0: - ...
Reduce timing attack surface on point multiplication.
richardkiss_pycoin
train
py
9dedd55048eaac1af357e8c21ec0ad5f30a90c90
diff --git a/src/ServiceLocator.php b/src/ServiceLocator.php index <HASH>..<HASH> 100644 --- a/src/ServiceLocator.php +++ b/src/ServiceLocator.php @@ -173,6 +173,11 @@ class ServiceLocator implements ServiceLocatorInterface return $this->getService('honeybee.infrastructure.event_bus'); } + public fun...
added getProcessManager to ServiceLocatorInterface
honeybee_honeybee
train
php,php
aa640fc9df9f92a6bb2fc73d9937f1935388d639
diff --git a/juju/bundle.py b/juju/bundle.py index <HASH>..<HASH> 100644 --- a/juju/bundle.py +++ b/juju/bundle.py @@ -584,11 +584,26 @@ class AddApplicationChange(ChangeInfo): options["trust"] = "true" url = URL.parse(str(charm)) + + # set the channel to the default value if not specifie...
Fixed the bundle run when the channel is None; Also added a second retrial on the obtention of the bundle's origin (in order to use both the normalized and non normalized channel -> this because some charms cause a failure on obtaining the origin with one type of channel, and others with the other one).
juju_python-libjuju
train
py
5e4e900d41852d0d6e62d4747b45d6cbd09b6abf
diff --git a/salt/pillar.py b/salt/pillar.py index <HASH>..<HASH> 100644 --- a/salt/pillar.py +++ b/salt/pillar.py @@ -16,12 +16,13 @@ class Pillar(object): ''' Read over the pillar top files and render the pillar data ''' - def __init__(self, opts, grains): + def __init__(self, opts, grains, id_):...
Add id to pillar object
saltstack_salt
train
py
f31bf39932e2ccb630cd2e0323170fddbbb167e8
diff --git a/libraries/lithium/tests/cases/util/reflection/InspectorTest.php b/libraries/lithium/tests/cases/util/reflection/InspectorTest.php index <HASH>..<HASH> 100644 --- a/libraries/lithium/tests/cases/util/reflection/InspectorTest.php +++ b/libraries/lithium/tests/cases/util/reflection/InspectorTest.php @@ -150,7...
Fixing one test in testIdentifierIntrospection() so it will work on Windows.
UnionOfRAD_framework
train
php
bc7c6ff8e4fbd56b203eb6e5b6747ced5e9febd1
diff --git a/src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js b/src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/Sitemap.controller.js +++ b/src/...
[INTERNAL] DemoKit (Sitemap): Push formatted node to the array if not hidden Problem: A node passed through the hidden condition was not pushed to the result array. Caused by: I4d<I>cf<I>d<I>ba4e3e8a<I>dcdf<I>d8e2f BCP: n/a Change-Id: I<I>d9d<I>afd2b8f3ea<I>fe<I>de
SAP_openui5
train
js
8e0b6bd893240444c1c23d36af1c238330fff3c4
diff --git a/tornado_pyuv/__init__.py b/tornado_pyuv/__init__.py index <HASH>..<HASH> 100644 --- a/tornado_pyuv/__init__.py +++ b/tornado_pyuv/__init__.py @@ -64,7 +64,6 @@ class UVLoop(IOLoop): if fd in self._handlers: raise IOError("fd %d already registered" % fd) poll = pyuv.Poll(self....
USe Poll.fileno() since it's now available
saghul_tornaduv
train
py
36fec694b55cd3d2869f88de0deb83c656ab8202
diff --git a/helpers/FileHelper.php b/helpers/FileHelper.php index <HASH>..<HASH> 100644 --- a/helpers/FileHelper.php +++ b/helpers/FileHelper.php @@ -22,6 +22,7 @@ class FileHelper extends Helper{ } elseif (function_exists('mime_content_type')){ } + return true; } public function...
Check if is image returns true for now until is written
mpf-soft_mpf
train
php
8f49fab86b48c73719b1eaeececdebc8d727a4af
diff --git a/salt/states/host.py b/salt/states/host.py index <HASH>..<HASH> 100644 --- a/salt/states/host.py +++ b/salt/states/host.py @@ -2,13 +2,25 @@ Management of addresses and names in hosts file. ================================================ -The hosts file can be managed to contain definitions for specifi...
Add example and warning for multiple name for host. Also specify path. And re: changing entries.
saltstack_salt
train
py
1f9b135f75bb6325a48df94b9763f7ba0322b778
diff --git a/src/PhpImap/Imap.php b/src/PhpImap/Imap.php index <HASH>..<HASH> 100644 --- a/src/PhpImap/Imap.php +++ b/src/PhpImap/Imap.php @@ -581,7 +581,7 @@ final class Imap return []; } - throw new UnexpectedValueException('Call to imap_getmailboxes() with supplied argument...
correcting function names incorrect function names were copy-pasted in when fleshing out implementation.
barbushin_php-imap
train
php
54b45a31d1d75831f9e4a947df2aa4ec37d46efe
diff --git a/runcommands/runners/remote.py b/runcommands/runners/remote.py index <HASH>..<HASH> 100644 --- a/runcommands/runners/remote.py +++ b/runcommands/runners/remote.py @@ -1,5 +1,4 @@ import atexit -import getpass import sys import time from functools import partial @@ -29,7 +28,6 @@ class RemoteRunner(Runne...
In RemoteRunner.run() don't set user to getpass.getuser() Paramiko's `SSHClient.connect()` will do this if no user is passed in.
wylee_runcommands
train
py
48c2319328e00cb57e0b02660a8cd3a008493f11
diff --git a/src/main/java/org/primefaces/extensions/util/ExtLangUtils.java b/src/main/java/org/primefaces/extensions/util/ExtLangUtils.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/primefaces/extensions/util/ExtLangUtils.java +++ b/src/main/java/org/primefaces/extensions/util/ExtLangUtils.java @@ -124,7 +12...
Fixed Sonar issue around null check
primefaces-extensions_core
train
java
bc0f65e6667bb6181d0a0dc682c3dde6ad641282
diff --git a/src/widget.treeselector.js b/src/widget.treeselector.js index <HASH>..<HASH> 100644 --- a/src/widget.treeselector.js +++ b/src/widget.treeselector.js @@ -14,7 +14,7 @@ RDFauthor.registerWidget({ RDFauthor.loadStylesheet(RDFAUTHOR_BASE + 'src/widget.treeselector.css'); - RDFauthor.loadSc...
remove class attribute, update library path of jstree
AKSW_RDFauthor
train
js
8563c7a25f5e322f1d098244e2d9e5b0eebf9a67
diff --git a/cloudflare.go b/cloudflare.go index <HASH>..<HASH> 100644 --- a/cloudflare.go +++ b/cloudflare.go @@ -251,6 +251,10 @@ func (api *API) makeRequestWithAuthTypeAndHeaders(ctx context.Context, method, u // retry if the server is rate limiting us or if it failed // assumes server operations are rolled ba...
cloudflare: update rate limit exceeded error message Updates the messaging when the rate limit retry policy has been exhausted to convey the actual failure instead of the generic `could not read response body` failure.
cloudflare_cloudflare-go
train
go
bffc6362ee9ccdf51c0bfbe876cef5715b013da2
diff --git a/src/animanager/commands/anime/bump.py b/src/animanager/commands/anime/bump.py index <HASH>..<HASH> 100644 --- a/src/animanager/commands/anime/bump.py +++ b/src/animanager/commands/anime/bump.py @@ -89,16 +89,18 @@ def bump(db, id): # Calculate what needs updating, putting it into a dictionary that we ...
Set start date on first episode We set the start date when we watch the first episode. Doing it on the transition away from 'plan to watch' skips the case when adding a show as watching. I don't think there's a case where watching the first episode shouldn't set the start date, and the same for the inverse.
darkfeline_animanager
train
py
fc9cb126e5ec434ad5e9536aa75d86eed845e676
diff --git a/cmd/helm/install.go b/cmd/helm/install.go index <HASH>..<HASH> 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -346,7 +346,9 @@ func locateChartPath(name, version string, verify bool, keyring string) (string, if err != nil { return filename, err } - fmt.Printf("Fetched %s to %s\n",...
fix(helm): suprress info message for 'helm inspect' There was an informational message being printed that is unnecessary, but prevented shell scripting the results of inspect calls. Closes #<I>
helm_helm
train
go
f4ec173864b148ea35b5f2443a8cea02294c9363
diff --git a/anndata/compat.py b/anndata/compat.py index <HASH>..<HASH> 100644 --- a/anndata/compat.py +++ b/anndata/compat.py @@ -89,9 +89,11 @@ def _to_fixed_length_strings(value: np.ndarray) -> np.ndarray: https://github.com/zarr-developers/zarr-python/pull/422 """ new_dtype = [] - for dt_name, (dt...
Allow any length of string to be written in a structured array to zarr
theislab_anndata
train
py
e4426c7946189aa41f0c99d37bf843799fb00c33
diff --git a/batchpath.py b/batchpath.py index <HASH>..<HASH> 100644 --- a/batchpath.py +++ b/batchpath.py @@ -38,8 +38,7 @@ class GeneratePaths: minsize=self.minsize): yield os.path.abspath(path) elif os.path.isdir(path): - # pylint: disable=...
Unpack to throwaway var and remove unnecessary pylint override
brbsix_python-batchpath
train
py
045a4c5ceecd6efc726094f6856b65f840b97eb7
diff --git a/greenlight.js b/greenlight.js index <HASH>..<HASH> 100644 --- a/greenlight.js +++ b/greenlight.js @@ -11,16 +11,16 @@ module.exports = function(fn) { var fiber = Fiber(function() { try { fn(flow); - - //Prevent memory leak - fn = null; - fiber = null; } catch(e)...
Moving memory leak prevention into finally block to make sure it gets executed, even if an exception is thrown.
scriby_asyncblock-generators
train
js
bcc56025be85e06c4b7ccb44d37132b4d185d52f
diff --git a/lib/capybara.rb b/lib/capybara.rb index <HASH>..<HASH> 100644 --- a/lib/capybara.rb +++ b/lib/capybara.rb @@ -113,7 +113,7 @@ module Capybara ## # - # Modify a selector previously craeated by {Capybara.add_selector}. + # Modify a selector previously created by {Capybara.add_selector}. ...
lib/capybara: Fix spelling of *created*
teamcapybara_capybara
train
rb
5ac40841ac93c3d85813964830b7adeba7c0423d
diff --git a/src/Saft/Store/Adapter/Http.php b/src/Saft/Store/Adapter/Http.php index <HASH>..<HASH> 100644 --- a/src/Saft/Store/Adapter/Http.php +++ b/src/Saft/Store/Adapter/Http.php @@ -341,7 +341,7 @@ class Http extends AbstractAdapter */ public function getTripleCount($graphUri) { - if (true =...
Replace Saft\Uri::check with Saft\Rdf\NamedNode::check
SaftIng_Saft
train
php
f3dce0522f5bc89bfa96b9fb84526dc045b16ecf
diff --git a/glue/ligolw/ligolw.py b/glue/ligolw/ligolw.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/ligolw.py +++ b/glue/ligolw/ligolw.py @@ -84,7 +84,7 @@ class Element(object): if not result: a = self.childNodes[:] a.sort() - b = self.childNodes[:] + b = other.childNodes[:] b.sort(...
Fix compare() method: child nodes not being tested correctly.
gwastro_pycbc-glue
train
py
4689dbd99b40176ffca2b6308d687204f1a3b556
diff --git a/lib/validator.js b/lib/validator.js index <HASH>..<HASH> 100644 --- a/lib/validator.js +++ b/lib/validator.js @@ -21,6 +21,9 @@ var validators = { }, isAlpha: function(str) { return str.match(/^[a-zA-Z]+$/); + }, + isAlphanumeric: function(str) { + return str.match(/^[a-zA-Z...
refactored isAlphanumeric
chriso_validator.js
train
js
44c240ff00252e436246984152db0647d7ac087e
diff --git a/casper.js b/casper.js index <HASH>..<HASH> 100644 --- a/casper.js +++ b/casper.js @@ -818,17 +818,26 @@ }; /** - * Retrieves string contents from a binary file behind an url. + * Retrieves string contents from a binary file behind an url. Silently + * fails but l...
better handling of ajax retrieval failures (more informative)
casperjs_casperjs
train
js
b0410f51335e3edd967836fcaff9ca6c33c10c5a
diff --git a/shared/actions/unlock-folders.js b/shared/actions/unlock-folders.js index <HASH>..<HASH> 100644 --- a/shared/actions/unlock-folders.js +++ b/shared/actions/unlock-folders.js @@ -50,6 +50,7 @@ function waiting (currentlyWaiting: boolean): Waiting { export function checkPaperKey (paperKey: HiddenString): Ty...
Leave todo for doing dispatching when switching to engine
keybase_client
train
js
5c8cd07f88b1e6825dd88f5191f9dfee22ce51e7
diff --git a/cf/help/help.go b/cf/help/help.go index <HASH>..<HASH> 100644 --- a/cf/help/help.go +++ b/cf/help/help.go @@ -155,6 +155,7 @@ func newAppPresenter() (presenter appPresenter) { presentNonCodegangstaCommand("enable-ssh"), presentNonCodegangstaCommand("disable-ssh"), presentNonCodegangstaCom...
add command ssh to cf help
cloudfoundry_cli
train
go
9e767474c2fe04c8b9e54fc8dbca8a40434ccf6b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ README = open(os.path.join(here, 'README.rst')).read() NEWS = open(os.path.join(here, 'NEWS.txt')).read() -version = '0.3.1' +version = '0.4' install_requires = [ "Sphinx",
Beginning work on Hieroglyph <I>.
nyergler_hieroglyph
train
py
6ccdfda2253d4cf55dad1ce2c6d4ee4d557ed625
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,6 +13,9 @@ from __future__ import absolute_import, division, print_function +from future import standard_library +standard_library.install_aliases() # noqa: E402 + import os import sys diff --git a/do...
Added support for docs generation on PY2 and PY3
ska-sa_katcp-python
train
py,py,py
e24d67884a6fc495806d55fa7e5942e5eb34b92f
diff --git a/lib/discordrb/gateway.rb b/lib/discordrb/gateway.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/gateway.rb +++ b/lib/discordrb/gateway.rb @@ -182,7 +182,7 @@ module Discordrb # outside of testing and implementing highly custom reconnect logic. # @param url [String, nil] the URL to connect to ...
Change inject_reconnect to use handle_message websocket_message doesn't exist in Gateway.
meew0_discordrb
train
rb
0b63a88fc9f0b5d6ff79b8d784dd2837f2fb5f50
diff --git a/webpack.config.js b/webpack.config.js index <HASH>..<HASH> 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -91,6 +91,11 @@ if ( CALYPSO_ENV === 'desktop' || CALYPSO_ENV === 'desktop-mac-app-store' ) { } else { webpackConfig.entry.vendor = [ 'react', 'store', 'page', 'wpcom', 'jed', 'debug' ]; ...
Webpack: Move common modules in children into build
Automattic_wp-calypso
train
js
98c1a6f37335a37760fe6850c2056552c082c547
diff --git a/updateengine/client.go b/updateengine/client.go index <HASH>..<HASH> 100644 --- a/updateengine/client.go +++ b/updateengine/client.go @@ -72,7 +72,8 @@ func (c *Client) RebootNeededSignal(rcvr chan Status) { } func (c *Client) GetStatus() (result Status, err error) { - call := c.object.Call(dbusInterfa...
fix(updateengine): set error appropriately from dbus call
coreos_locksmith
train
go
8020c651600dd40677198519ae29946d540ea15f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -48,7 +48,7 @@ except (IOError, ImportError): long_description = f.read() -version = '0.1.5' +version = '0.1.6' class TestCommand(Command):
Update version number to <I>
chaoss_grimoirelab-perceval-puppet
train
py
615792d182089fbb4784e65286552004c3d4f3be
diff --git a/encoding/codec.go b/encoding/codec.go index <HASH>..<HASH> 100644 --- a/encoding/codec.go +++ b/encoding/codec.go @@ -10,10 +10,10 @@ type Codec interface { Marshal(interface{}) ([]byte, error) Decode(io.Reader, interface{}) error Unmarshal([]byte, interface{}) error - Pool([]byte) + Pool(...[]byte) ...
encoding: fixed json codec; time2: add After, Since
cosiner_gohper
train
go,go
d63f6ccd1abf8354577c110af2b1dd56b2dcef33
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -73,7 +73,6 @@ function showError(errorCode, res) { fs.createReadStream(__dirname + '/errors/' + errorCode + '.html').pipe(res); } - module.exports.createGlance = function (options) { return new Glance(options); }; ...
a bit more succinct
jarofghosts_glance
train
js
a93ada0a1e3d6dfd4dcedacf5b7f3d6276deb41d
diff --git a/go/bind/keybase.go b/go/bind/keybase.go index <HASH>..<HASH> 100644 --- a/go/bind/keybase.go +++ b/go/bind/keybase.go @@ -160,9 +160,11 @@ type serviceCn struct { } func (s serviceCn) NewKeybaseService(config libkbfs.Config, params libkbfs.InitParams, ctx libkbfs.Context, log logger.Logger) (libkbfs.Ke...
bind: update `NewKeybaseDaemonRPC` call Changed by keybase/kbfs#<I> Issue: KBFS-<I>
keybase_client
train
go
d35de2272d31f0a8dcfb49c2ef3d54dc95b38a0b
diff --git a/python/ray/tests/test_ray_init.py b/python/ray/tests/test_ray_init.py index <HASH>..<HASH> 100644 --- a/python/ray/tests/test_ray_init.py +++ b/python/ray/tests/test_ray_init.py @@ -41,15 +41,20 @@ class TestRedisPassword: # We catch a generic Exception here in case someone later changes the ...
[Core] Allow redis.ResponseError instead of redis.AuthenticationError (#<I>) * redis.ResponseError * there really is no way to make this look good, is there
ray-project_ray
train
py
48f55b4f3138b570e45aa5f7874df26de32aa658
diff --git a/lib/stores/ldap/save.js b/lib/stores/ldap/save.js index <HASH>..<HASH> 100644 --- a/lib/stores/ldap/save.js +++ b/lib/stores/ldap/save.js @@ -87,6 +87,9 @@ exports.record = { move_from = self.getChanges()[name][0]; }else{ if((value === null || value === '') && sel...
ldap delete bugfix
PhilWaldmann_openrecord
train
js
589d3b2449d62b247dc1d3f870a253e933febf5a
diff --git a/pypeerassets/provider/blockbook.py b/pypeerassets/provider/blockbook.py index <HASH>..<HASH> 100644 --- a/pypeerassets/provider/blockbook.py +++ b/pypeerassets/provider/blockbook.py @@ -9,7 +9,11 @@ from btcpy.structs.transaction import ScriptSig, Sequence, TxIn from pypeerassets.exceptions import Insuffi...
added getblockhash, getblock
PeerAssets_pypeerassets
train
py
7938e590b2e65593a616dafa838032b0e759a05f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( author = u'Juan Pedro Fisanotti', author_email = 'fisadev@gmail.com', url='', - packages=['simeple_ai'], + packages=['simple_ai'], classifiers = [ 'Intended Audience :: ...
Fixed seccond typo on the same word -_-
simpleai-team_simpleai
train
py
615b46d70cce267ce024cec00d23911dfcde428e
diff --git a/lib/util/player_configuration.js b/lib/util/player_configuration.js index <HASH>..<HASH> 100644 --- a/lib/util/player_configuration.js +++ b/lib/util/player_configuration.js @@ -44,11 +44,7 @@ shaka.util.PlayerConfiguration = class { // Some browsers implement the Network Information API, which allo...
Fix initial bandwidth estimate on Chrome The Network Information API gives us an initial bandwidth estimate on Chrome and Opera (and others, some day). But the API changed slightly in a way that broke our detection of it. This restores the functionality so that our initial bandwidth estimate is closer to what we wil...
google_shaka-player
train
js
d2bda0757e28ff30c98602ddfc1e7617a08e39cd
diff --git a/samples/es6sample.js b/samples/es6sample.js index <HASH>..<HASH> 100644 --- a/samples/es6sample.js +++ b/samples/es6sample.js @@ -4,6 +4,9 @@ import http from "speedboat/http"; export let options = { vus: 5, + thresholds: { + my_rate: ["avg>=0.4"], + } }; let mCounter = new Counter("my_counter");
[docs] Thresholds in es6sample.js
loadimpact_k6
train
js
12e76af7c0ca85f3dcdaf2e79e5f08c2e8d4daf9
diff --git a/lib/puppet/pops/types/type_calculator.rb b/lib/puppet/pops/types/type_calculator.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/pops/types/type_calculator.rb +++ b/lib/puppet/pops/types/type_calculator.rb @@ -168,7 +168,15 @@ class Puppet::Pops::Types::TypeCalculator type end + # @api private +...
(#<I>) Add infer_Class to remove requirement to pass an instance. Without this it is more difficult to create a type for a class.
puppetlabs_puppet
train
rb
a23590b2555d77f4e46b33f3b1427103b1c12dd4
diff --git a/src/engine/processors/consult.js b/src/engine/processors/consult.js index <HASH>..<HASH> 100644 --- a/src/engine/processors/consult.js +++ b/src/engine/processors/consult.js @@ -86,10 +86,10 @@ const handleConsultEntry = function handleConsultEntry( // work path from the current working directory give...
fix agent consult ID value being converted to Value
lps-js_lps.js
train
js
e21ffa2e53728dcac86d9f37245ee0b1c29359b4
diff --git a/betfairlightweight/resources/streamingresources.py b/betfairlightweight/resources/streamingresources.py index <HASH>..<HASH> 100644 --- a/betfairlightweight/resources/streamingresources.py +++ b/betfairlightweight/resources/streamingresources.py @@ -335,9 +335,9 @@ class CricketInningsStats: self....
Fix CricketInningsStats field names
liampauling_betfair
train
py
d1060593dff89ad72abbdddf409f4c4d94252a0b
diff --git a/cocaine/detail/api.py b/cocaine/detail/api.py index <HASH>..<HASH> 100644 --- a/cocaine/detail/api.py +++ b/cocaine/detail/api.py @@ -26,7 +26,7 @@ class API(object): 2: ['refresh', {}, {0: ['value', {}], 1: ['error', {}]}], 3: ['cluster', {}, {0: ['value', {}], 1: ['error',...
[Locator] Sync API description with new routing dispatch
cocaine_cocaine-framework-python
train
py
5db47d88276dff163d6c1ac03835d4ead7d4e32b
diff --git a/sphinxcontrib/needs/utils.py b/sphinxcontrib/needs/utils.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/needs/utils.py +++ b/sphinxcontrib/needs/utils.py @@ -108,7 +108,7 @@ def process_dynamic_values(app, doctree, fromdocname): class NeedsList: JSON_KEY_EXCLUSIONS = {'links_back', 'type_color', ...
Activated docname in need-builder output. fixes #<I>
useblocks_sphinxcontrib-needs
train
py
186d1e452ac0f79afd88a425554a0f503df574a7
diff --git a/test/integration.js b/test/integration.js index <HASH>..<HASH> 100644 --- a/test/integration.js +++ b/test/integration.js @@ -223,9 +223,7 @@ test('output logs of deployment', async t => { reject: false }) - t.true(stdout.includes('npm install')) - t.true(stdout.includes('Installing')) - t.tru...
Fixed integration tests (#<I>)
zeit_now-cli
train
js
16435134497ef0cb2298546e2f8389fad2e2f9ee
diff --git a/source/rafcon/statemachine/states/hierarchy_state.py b/source/rafcon/statemachine/states/hierarchy_state.py index <HASH>..<HASH> 100644 --- a/source/rafcon/statemachine/states/hierarchy_state.py +++ b/source/rafcon/statemachine/states/hierarchy_state.py @@ -216,7 +216,6 @@ class HierarchyState(ContainerSta...
resolves #<I> remove duplicate execution status update
DLR-RM_RAFCON
train
py
ad2c24682aea3d53fab26e387dda2f97a747d6b2
diff --git a/src/Tappable.js b/src/Tappable.js index <HASH>..<HASH> 100644 --- a/src/Tappable.js +++ b/src/Tappable.js @@ -292,9 +292,6 @@ var Mixin = { var movement = this.calculateMovement(this._lastTouch); if (movement.x <= this.props.moveThreshold && movement.y <= this.props.moveThreshold && this.props.onTa...
Remove bad workarounds to solve the React event pooling problem on tap The solution is to fire the tap event always synchronously (already fixed). So the React event pooling can behave as usual. Removed the attempt to assign an empty function to preventDefault, because it does not make sense to assign a function t...
JedWatson_react-tappable
train
js
65d519551c7c94a91c7256f3fd484e006b9a455e
diff --git a/lib/hanami/utils/inflector.rb b/lib/hanami/utils/inflector.rb index <HASH>..<HASH> 100644 --- a/lib/hanami/utils/inflector.rb +++ b/lib/hanami/utils/inflector.rb @@ -271,7 +271,8 @@ module Hanami 'areas' => 'area', 'hives' => 'hive', 'phases' => 'phase', - ...
inflector: Fix singular of "releases" (#<I>)
hanami_utils
train
rb,rb
e3335574a43f853520ccd980706df0e4c9907c74
diff --git a/lib/project/pro_motion/fragments/pm_screen_module.rb b/lib/project/pro_motion/fragments/pm_screen_module.rb index <HASH>..<HASH> 100644 --- a/lib/project/pro_motion/fragments/pm_screen_module.rb +++ b/lib/project/pro_motion/fragments/pm_screen_module.rb @@ -237,6 +237,8 @@ case mode when ...
Keyboard pan mode to prevent ui control squishing.
infinitered_bluepotion
train
rb
e18695de17186c8a25f80c16700c8e226ed4830a
diff --git a/src/simg.js b/src/simg.js index <HASH>..<HASH> 100644 --- a/src/simg.js +++ b/src/simg.js @@ -63,7 +63,7 @@ } // Make the new img's source an SVG image. - img.setAttribute('src', 'data:image/svg+xml;base64,'+ btoa(str)); + img.setAttribute('src', 'data:image/svg+xml;base64,'+ btoa...
Support for foreign characters from @clemsos (<URL>)
krunkosaurus_simg
train
js
6916bb24a24547b6cb6bd46d072f0eee22f019b3
diff --git a/cmd/kubeadm/app/constants/constants.go b/cmd/kubeadm/app/constants/constants.go index <HASH>..<HASH> 100644 --- a/cmd/kubeadm/app/constants/constants.go +++ b/cmd/kubeadm/app/constants/constants.go @@ -136,7 +136,7 @@ const ( // LabelNodeRoleExcludeBalancer specifies that the node should be // exclud...
Append an alpha label to the exclude load balancer annotation.
kubernetes_kubernetes
train
go
dab5e21b10ee1b6768f93c56e8e58063679343d9
diff --git a/commands/story/start/command.go b/commands/story/start/command.go index <HASH>..<HASH> 100644 --- a/commands/story/start/command.go +++ b/commands/story/start/command.go @@ -125,7 +125,9 @@ StoryLoop: fmt.Println() // Create the story branch, optionally. - if !flagNoBranch { + if flagNoBranch { + lo...
story start: Skip branch creation when name empty Skip the branch creation step when the user inserts an empty branch name. This is basically equivalent to running story start with -no_branch. Change-Id: f<I> Story-Id: SF-<I>
salsaflow_salsaflow
train
go
8526cc7947e1caa81ff5f8d5bf788adf563c0cbf
diff --git a/encoder.go b/encoder.go index <HASH>..<HASH> 100644 --- a/encoder.go +++ b/encoder.go @@ -25,6 +25,7 @@ import ( "encoding/base64" "encoding/json" "math" + "strings" "sync" "time" "unicode/utf8" @@ -351,6 +352,9 @@ func (enc *ltsvEncoder) closeOpenNamespaces() { func (enc *ltsvEncoder) addKey(...
Panic if LTSV key contains a colon character
hnakamur_zap-ltsv
train
go
7990f40d665604b1bfc13cf84bc177aa2a36fc7d
diff --git a/platform/html5/html.js b/platform/html5/html.js index <HASH>..<HASH> 100644 --- a/platform/html5/html.js +++ b/platform/html5/html.js @@ -517,6 +517,11 @@ exports.init = function(ctx) { if (ctx.processKey(event)) event.preventDefault() }) //fixme: add html.Document instead + win.on('orientationcha...
update screenwidth/height on orientation changed event
pureqml_qmlcore
train
js
053ab688f3008a39c88a6a449f27294683d233da
diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.java b/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.jav...
Add java.util.Optional as a well-known immutable container Fixes #<I> MOE_MIGRATED_REVID=<I>
google_error-prone
train
java
d02a79bbbea9f8312624298c3a90df84e5e943a9
diff --git a/modules/phenyl-interfaces/index.js b/modules/phenyl-interfaces/index.js index <HASH>..<HASH> 100644 --- a/modules/phenyl-interfaces/index.js +++ b/modules/phenyl-interfaces/index.js @@ -155,11 +155,18 @@ import type { UserDefinition, UserDefinitions, } from './decls/user-definition.js.flow' -import ...
[phenyl-interfaces] export WhereConditions subtypes
phenyl-js_phenyl
train
js
c1cc93e33d9626c7415ea7fc0428682ee30fffc7
diff --git a/libraries/joomla/form/form.php b/libraries/joomla/form/form.php index <HASH>..<HASH> 100644 --- a/libraries/joomla/form/form.php +++ b/libraries/joomla/form/form.php @@ -1833,26 +1833,18 @@ class JForm if ($required) { - // If the field is required and the value is empty return an error message. ...
Correct confusion between required and validate messages in field
joomla_joomla-framework
train
php
2060fa06983acbe6452656f268fd3389c215ec9f
diff --git a/src/Scale.js b/src/Scale.js index <HASH>..<HASH> 100644 --- a/src/Scale.js +++ b/src/Scale.js @@ -68,6 +68,9 @@ function createScale(type, scheme, reverse) { } function configureDomain(scale, _) { + var raw = rawDomain(scale, _.domainRaw); + if (raw > -1) return raw; + var domain = _.domain, ...
Add domainRaw to Scale operator.
vega_vega-encode
train
js
7f593b4fa3267be56cabe2e66bba71ace9e2a7a3
diff --git a/AegeanTools/regions.py b/AegeanTools/regions.py index <HASH>..<HASH> 100644 --- a/AegeanTools/regions.py +++ b/AegeanTools/regions.py @@ -178,7 +178,8 @@ class Region(): for d in xrange(1,self.maxdepth+1): for p in self.pixeldict[d]: line="fk5; polygon(" -...
fixed a bug for numpy v<<I> related to the continuing broken-ness of np.int<I>
PaulHancock_Aegean
train
py
bed853f4c4b5795da01c5d7f57cf5a8a3f379ae9
diff --git a/tower_cli/resources/setting.py b/tower_cli/resources/setting.py index <HASH>..<HASH> 100644 --- a/tower_cli/resources/setting.py +++ b/tower_cli/resources/setting.py @@ -52,8 +52,8 @@ class Resource(models.Resource): 'results': [{'id': k, 'value': v} for k, v in result.items()] } - ...
correct help text for `tower-cli setting get`
ansible_tower-cli
train
py
4525df759d248affea0e1bc0b6dc6b9684eb8491
diff --git a/mesh_tensorflow/transformer/utils.py b/mesh_tensorflow/transformer/utils.py index <HASH>..<HASH> 100644 --- a/mesh_tensorflow/transformer/utils.py +++ b/mesh_tensorflow/transformer/utils.py @@ -1184,8 +1184,9 @@ def eval_model(estimator, vocabulary, sequence_length, batch_size, # Create list of po...
Convert Transformer targets to text before passing into postprocess function during evaluation. PiperOrigin-RevId: <I>
tensorflow_mesh
train
py
b12b1fc79d9dca7ab1c9c9412651562e1f4477aa
diff --git a/payu/models/accessom2.py b/payu/models/accessom2.py index <HASH>..<HASH> 100644 --- a/payu/models/accessom2.py +++ b/payu/models/accessom2.py @@ -69,6 +69,20 @@ class AccessOm2(Model): shutil.move(os.path.join(self.work_restart_path, f), self.restart_path) ...
Copy o2i.nc from MOM work to CICE restart when doing archive. Closes #<I>
payu-org_payu
train
py
6408ba426c60b84c8d60de428577e761589d2efb
diff --git a/src/core/core.scale.js b/src/core/core.scale.js index <HASH>..<HASH> 100644 --- a/src/core/core.scale.js +++ b/src/core/core.scale.js @@ -692,7 +692,7 @@ module.exports = function(Chart) { var label = itemToDraw.label; if (helpers.isArray(label)) { - for (var i = 0, y = 0; i < label.leng...
Fix #<I> Multi-lines label alignment (#<I>)
chartjs_Chart.js
train
js
4abfa7be167521f630ad50f45e4f23340a251020
diff --git a/lib/assetScanner.js b/lib/assetScanner.js index <HASH>..<HASH> 100644 --- a/lib/assetScanner.js +++ b/lib/assetScanner.js @@ -5,6 +5,7 @@ var EventEmitter = require("events").EventEmitter; var AssetScanner = module.exports = function (options) { this.directory = options.src; + this.detectChanges = o...
Added file watching when detectChanges: true
js-kyle_connect-assets
train
js
69b8c3d27438b8ee1b46db4e701f72e9275674b1
diff --git a/bananas/admin/api/views.py b/bananas/admin/api/views.py index <HASH>..<HASH> 100644 --- a/bananas/admin/api/views.py +++ b/bananas/admin/api/views.py @@ -6,6 +6,7 @@ from django.contrib.auth import ( from django.contrib.auth.forms import AuthenticationForm, PasswordChangeForm from django.utils.translatio...
Allow anonymous access to the i<I>n endpoint
5monkeys_django-bananas
train
py