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 |
|---|---|---|---|---|---|
5787a3978c1a6d88a5946c5c092ce8d752feff85 | diff --git a/lib/ffaker/version.rb b/lib/ffaker/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ffaker/version.rb
+++ b/lib/ffaker/version.rb
@@ -2,7 +2,7 @@ module Faker #:nodoc:
module VERSION #:nodoc:
MAJOR = 0
MINOR = 3
- TINY = 4
+ TINY = 5
STRING = [MAJOR, MINOR, TINY].join('.')
en... | oops, forgot to update the version | ffaker_ffaker | train | rb |
c501eeb5a2ee164e656742903953cc93e45a9da9 | diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py
index <HASH>..<HASH> 100644
--- a/pyrogram/__init__.py
+++ b/pyrogram/__init__.py
@@ -23,7 +23,7 @@ __copyright__ = "Copyright (C) 2017-2018 Dan Tès <https://github.com/delivrance
"e" if sys.getfilesystemencoding() != "utf-8" else "\xe8"
)
__license__ = "G... | Update to <I>dev1
There are a quite lot of changes it deserves a new "minor" update. | pyrogram_pyrogram | train | py |
cbc27f03c8b5cc140f648c42976722a0ccc9cc52 | diff --git a/peppy/project.py b/peppy/project.py
index <HASH>..<HASH> 100644
--- a/peppy/project.py
+++ b/peppy/project.py
@@ -1179,7 +1179,7 @@ class Project(PathExAttMap):
st = self[SAMPLE_TABLE_FILE_KEY]
else:
if CONFIG_KEY not in self:
- _LOGGER.warning("No config k... | Deleted warning, if project is empty | pepkit_peppy | train | py |
fc859f0306b7a11df468095a1997e77a74c7e352 | diff --git a/pyontutils/ilx_utils.py b/pyontutils/ilx_utils.py
index <HASH>..<HASH> 100755
--- a/pyontutils/ilx_utils.py
+++ b/pyontutils/ilx_utils.py
@@ -196,7 +196,6 @@ def readFile(filename, existing):
#ilxAddTempId(qn, ontid=mg.ontid)
if qn in existing:
existing[qn]['files'].append(fi... | ilx utils yep it was indeed that obvious | tgbugs_pyontutils | train | py |
a793e1308ea688d0a55c60619ef803b327760b9f | diff --git a/holoviews/plotting/raster.py b/holoviews/plotting/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/raster.py
+++ b/holoviews/plotting/raster.py
@@ -33,7 +33,7 @@ class RasterPlot(ElementPlot):
def __init__(self, *args, **kwargs):
super(RasterPlot, self).__init__(*args, **kwargs)... | Inverted RasterPlot.invert_yaxis for Raster plotting | pyviz_holoviews | train | py |
00102fd62e7ce534f4accf4697542e4e54a20d32 | diff --git a/phpfastcache/3.0.0/drivers/files.php b/phpfastcache/3.0.0/drivers/files.php
index <HASH>..<HASH> 100644
--- a/phpfastcache/3.0.0/drivers/files.php
+++ b/phpfastcache/3.0.0/drivers/files.php
@@ -118,7 +118,7 @@ class phpfastcache_files extends BasePhpFastCache implements phpfastcache_drive
function ... | add file_exists check for cache delete
need to eliminate php warnings | PHPSocialNetwork_phpfastcache | train | php |
b787cdd52b332be978d696433fc205ce2ccfdc9d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,13 @@
from setuptools import setup, find_packages
+version_t=None
+
with open("__conda_version__.h") as w:
for line in w:
version_t=line.strip()
-if None in version:
+if version_t is None:
p... | Correct error handling in setup.py. | jochym_Elastic | train | py |
59804d8f5f6ab652f597f3132781c9d27ca7c70a | diff --git a/jaraco/util/itertools.py b/jaraco/util/itertools.py
index <HASH>..<HASH> 100644
--- a/jaraco/util/itertools.py
+++ b/jaraco/util/itertools.py
@@ -198,10 +198,15 @@ class islice(object):
"""May be applied to an iterable to limit the number of items returned.
Works similarly to count, except is called on... | Capture expectation of _formatArgs. | jaraco_jaraco.itertools | train | py |
6453aa38f8ea2cc924e06cad8e98fb23b89049c4 | diff --git a/bonsai/model.py b/bonsai/model.py
index <HASH>..<HASH> 100644
--- a/bonsai/model.py
+++ b/bonsai/model.py
@@ -533,6 +533,10 @@ class CodeGlobalScope(CodeEntity):
for codeobj in self.children
)
+ def __repr__(self):
+ """Return a string representation of this object."""... | fixed CodeGlobalScope having no repr string | git-afsantos_bonsai | train | py,py |
51aaaaf1ed2f567f2d58f2c86144c741c9049b18 | diff --git a/cli/api/daemon.go b/cli/api/daemon.go
index <HASH>..<HASH> 100644
--- a/cli/api/daemon.go
+++ b/cli/api/daemon.go
@@ -817,12 +817,12 @@ func (d *daemon) startAgent() error {
updatedHost, err := host.UpdateHostInfo(*myHost)
if err != nil {
log.WithError(err).Warn("Unable to acquire delegate ... | Keep trying to update host info on startup | control-center_serviced | train | go |
42c62a7a344e2139f285c571930d179866167bd5 | diff --git a/ez_setup.py b/ez_setup.py
index <HASH>..<HASH> 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -30,7 +30,7 @@ try:
except ImportError:
USER_SITE = None
-DEFAULT_VERSION = "15.2"
+DEFAULT_VERSION = "15.3"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
DEFAULT_SAVE_DIR = os.cur... | Bumped to <I> in preparation for next release. | pypa_setuptools | train | py,py |
b5a78fd826aa1d3e3a45cbee4bcb24a86bff8adf | diff --git a/zcl/diagnostic.go b/zcl/diagnostic.go
index <HASH>..<HASH> 100644
--- a/zcl/diagnostic.go
+++ b/zcl/diagnostic.go
@@ -84,3 +84,14 @@ func (d Diagnostics) Append(diag *Diagnostic) Diagnostics {
func (d Diagnostics) Extend(diags Diagnostics) Diagnostics {
return append(d, diags...)
}
+
+// HasErrors retu... | Helper for determining if a Diagnostics contains errors
Checking if it's non-nil, as we would for Go errors, doesn't work here
because there may be warnings. | hashicorp_hcl | train | go |
acadcc1f17a8aaac2b931629270486d1ddad04b2 | diff --git a/examples/PaymentExample.php b/examples/PaymentExample.php
index <HASH>..<HASH> 100644
--- a/examples/PaymentExample.php
+++ b/examples/PaymentExample.php
@@ -2,10 +2,10 @@
/**
* This file is part of the PHP Rebilly API package.
*
- * (c) Veaceslav Medvedev <slavcopost@gmail.com>
- *
- * For the full c... | Update PaymentExample docs | Rebilly_rebilly-php | train | php |
8edef828e9e936bbe3135137e1ba4084f003e3f8 | diff --git a/gbdxtools/images/ipe_image.py b/gbdxtools/images/ipe_image.py
index <HASH>..<HASH> 100644
--- a/gbdxtools/images/ipe_image.py
+++ b/gbdxtools/images/ipe_image.py
@@ -41,7 +41,4 @@ class IpeImage(DaskImage, Container):
return super(IpeImage, self).__getitem__(geometry)
def __contains__(s... | shape called on geometry works just fine, no need to do the BaseGeometry check | DigitalGlobe_gbdxtools | train | py |
7891337ae8d082c7ff0487ff51a54d7013ade47e | diff --git a/swipe.js b/swipe.js
index <HASH>..<HASH> 100644
--- a/swipe.js
+++ b/swipe.js
@@ -32,7 +32,7 @@ function Swipe(container, options) {
options = options || {};
var index = parseInt(options.startSlide, 10) || 0;
var speed = options.speed || 300;
- options.continuous = options.continuous ? options.co... | Fix bug causing continuous to always be true. | lyfeyaj_swipe | train | js |
ac2076a68e8ed015966364daf7d6a1ba0f8ca1ad | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -12,10 +12,11 @@ try:
except ImportError:
# required for python3
# python2.7 works with this module too!
- try:
+ if sys.version_info >= (2, 1, 7):
import unittest
- except ImportError:
+ else:
... | test.py print error if unittest module is too old
Before it only test, if unittest is avaible, which will always be the
case. | Mic92_python-mpd2 | train | py |
13d72f5ba9c1fcc7a8d5de1d9560412281b916eb | diff --git a/js/stringProcessing/getSentences.js b/js/stringProcessing/getSentences.js
index <HASH>..<HASH> 100644
--- a/js/stringProcessing/getSentences.js
+++ b/js/stringProcessing/getSentences.js
@@ -140,7 +140,7 @@ function getSentencesFromTokens( tokens ) {
// Only split on sentence delimiters when the next s... | Fix error when there are not tokens | Yoast_YoastSEO.js | train | js |
733f1ca77e707d9207a2cdec05c1c140b452b118 | diff --git a/webpack.common.js b/webpack.common.js
index <HASH>..<HASH> 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -7,7 +7,11 @@ const webpack = require('webpack');
module.exports = (argv) => ({
entry: './src/mojs.babel.js',
output: {
- path: path.resolve(__dirname, 'dist')
+ path: path.reso... | Use UMD build on the common webpack configuration | mojs_mojs | train | js,js |
430b17271343d7db90dca351de89fa1a1a60bb26 | diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py
index <HASH>..<HASH> 100755
--- a/scripts/validate_docstrings.py
+++ b/scripts/validate_docstrings.py
@@ -610,11 +610,11 @@ def main(func_name, fd):
fd.write('{}\n'.format(doc_info['docstring']))
fd.write(header('Validation')... | add number of Errors, Warnings to scripts/validate_docstrings.py (#<I>) | pandas-dev_pandas | train | py |
9fb32418a7c611ee2cb3053995d5db5b1faa1e96 | diff --git a/question/type/shortanswer/questiontype.php b/question/type/shortanswer/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/type/shortanswer/questiontype.php
+++ b/question/type/shortanswer/questiontype.php
@@ -97,7 +97,6 @@ class question_shortanswer_qtype extends default_questiontype {
}
... | qtype shortanswer MDL-<I> small refactoring to help subclasses. Thanks to Oleg Sychev. | moodle_moodle | train | php |
370d7c8a22010dc37ced5be5d4ecf52975fd1cd1 | diff --git a/plugins/PluginCertInfo.py b/plugins/PluginCertInfo.py
index <HASH>..<HASH> 100644
--- a/plugins/PluginCertInfo.py
+++ b/plugins/PluginCertInfo.py
@@ -124,7 +124,8 @@ class PluginCertInfo(PluginBase.PluginBase):
argument = arg, title = cmd_title)
trust_xml_attr = {'tru... | Fixes issue <I> | nabla-c0d3_sslyze | train | py |
d1f24ce4a7bd833737b1f8ba5ae27ed27e5a691f | diff --git a/src/Tests/RuleSet/Loader/FileLoaderTest.php b/src/Tests/RuleSet/Loader/FileLoaderTest.php
index <HASH>..<HASH> 100644
--- a/src/Tests/RuleSet/Loader/FileLoaderTest.php
+++ b/src/Tests/RuleSet/Loader/FileLoaderTest.php
@@ -12,10 +12,16 @@ class FileLoaderTest extends \PHPUnit_Framework_TestCase
$th... | implemented skipped test (is_file) | sensiolabs-de_deprecation-detector | train | php |
e035b495de57b842adc3cc58fc7820b80233823f | diff --git a/CorsSlim.php b/CorsSlim.php
index <HASH>..<HASH> 100644
--- a/CorsSlim.php
+++ b/CorsSlim.php
@@ -20,6 +20,24 @@ class CorsSlim extends \Slim\Middleware {
$req->headers->get("Origin")
);
}
+
+ // handle multiple allowed ... | Add support for multiple origins if an array is passed in for the 'origin' setting. This works by returning the first value to match the actual origin of the request, or defaulting to the first value in the array. | palanik_CorsSlim | train | php |
40f728a3263c33e4fe9ba0681711a38799621405 | diff --git a/internal/restorable/image.go b/internal/restorable/image.go
index <HASH>..<HASH> 100644
--- a/internal/restorable/image.go
+++ b/internal/restorable/image.go
@@ -103,6 +103,11 @@ func NewScreenFramebufferImage(width, height int) *Image {
return i
}
+func (i *Image) Clear() {
+ theImages.makeStaleIfDep... | shareable: Call (*restorable.Image).Clear() when possible
This is a kind of relanding of c<I>c<I>b0b<I>e<I>af1d<I>eb8e2d<I>fa<I>.
Clearing the restorable.Image state can reduce the operations for
restoring. | hajimehoshi_ebiten | train | go,go |
3731a3b805811d23917084230c274d64bd8575cf | diff --git a/client/jquery.shotgunConsole.js b/client/jquery.shotgunConsole.js
index <HASH>..<HASH> 100644
--- a/client/jquery.shotgunConsole.js
+++ b/client/jquery.shotgunConsole.js
@@ -63,7 +63,7 @@
$line.appendTo($display);
var dontType = !line.options || !line.options.dontT... | Even veteran programmers forget a 'var' keyword now and then :/ | chevex-archived_shotgun-client | train | js |
8b0b95c58f3c82d00d0f81ed19eb593f7f931370 | diff --git a/test/unit/Command/AssertBackwardsCompatibleTest.php b/test/unit/Command/AssertBackwardsCompatibleTest.php
index <HASH>..<HASH> 100644
--- a/test/unit/Command/AssertBackwardsCompatibleTest.php
+++ b/test/unit/Command/AssertBackwardsCompatibleTest.php
@@ -278,7 +278,6 @@ final class AssertBackwardsCompatible... | Ensure that markdown output is printed during CLI execution | Roave_BackwardCompatibilityCheck | train | php |
bee3b2748c175d0c74622325d463a9f717ffa509 | diff --git a/scripts/plink_to_vcf.py b/scripts/plink_to_vcf.py
index <HASH>..<HASH> 100644
--- a/scripts/plink_to_vcf.py
+++ b/scripts/plink_to_vcf.py
@@ -97,7 +97,7 @@ def fix_vcf_line(parts, ref_base):
varinfo[4] = ref
genotypes = [swap[x] for x in genotypes]
# reference is on alternate strand
... | Do not fail on non-GATC reference or variant bases. These will pass through unchanged without attempting to swap strands, but will no longer error out. Fixes #<I> | bcbio_bcbio-nextgen | train | py |
174de850ef640433b6b69a890ce5a558f1518d59 | diff --git a/bin/download-node-tests.js b/bin/download-node-tests.js
index <HASH>..<HASH> 100755
--- a/bin/download-node-tests.js
+++ b/bin/download-node-tests.js
@@ -38,11 +38,18 @@ function downloadBufferTests (dir, files) {
files.forEach(function (file) {
if (!/test-buffer.*/.test(file.name)) return
- i... | skip irrelevant test file: test-buffer-sharedarraybuffer.js | feross_buffer | train | js |
dda80900378b60ea286bce3dea24439d30f61fac | diff --git a/test/integration/scheduler_perf/util.go b/test/integration/scheduler_perf/util.go
index <HASH>..<HASH> 100644
--- a/test/integration/scheduler_perf/util.go
+++ b/test/integration/scheduler_perf/util.go
@@ -17,6 +17,7 @@ limitations under the License.
package benchmark
import (
+ "bytes"
"context"
"... | Format json file with proper indentation | kubernetes_kubernetes | train | go |
23e534683d0a605ec31b9337dbff9fadb5615540 | diff --git a/tdiary.rb b/tdiary.rb
index <HASH>..<HASH> 100644
--- a/tdiary.rb
+++ b/tdiary.rb
@@ -125,7 +125,7 @@ module TDiary
# directory where the server was started
def server_root
- Dir.pwd
+ Dir.pwd.untaint
end
def configuration | fix error in plugin because TDiary.server_root was tainted | tdiary_tdiary-core | train | rb |
563136665b6689d7d98c08b830aa3a8e646aa67e | diff --git a/src/Renderer/TwigExtensionFilters.php b/src/Renderer/TwigExtensionFilters.php
index <HASH>..<HASH> 100644
--- a/src/Renderer/TwigExtensionFilters.php
+++ b/src/Renderer/TwigExtensionFilters.php
@@ -58,9 +58,9 @@ class TwigExtensionFilters extends \Twig_Extension
* @param string $var... | Applied fixes from StyleCI (#<I>) | Cecilapp_PHPoole | train | php |
3063aebbd6c3020837eb5bd263c21e69411eb3c5 | diff --git a/Admin/Traits/Mapper.php b/Admin/Traits/Mapper.php
index <HASH>..<HASH> 100644
--- a/Admin/Traits/Mapper.php
+++ b/Admin/Traits/Mapper.php
@@ -2,6 +2,10 @@
namespace Librinfo\CoreBundle\Admin\Traits;
+use Sonata\AdminBundle\Mapper\BaseMapper;
+use Sonata\AdminBundle\Mapper\BaseGroupedMapper;
+use Libri... | correcting the usage of the new Mapper trait, adding needed "use"s | blast-project_CoreBundle | train | php |
50e537c2d620f537ac0994873b9791b574a33a5b | diff --git a/fbchat/models.py b/fbchat/models.py
index <HASH>..<HASH> 100644
--- a/fbchat/models.py
+++ b/fbchat/models.py
@@ -1,8 +1,10 @@
from __future__ import unicode_literals
+import sys
class Base():
def __repr__(self):
- return self.__unicode__().encode('utf-8')
+ uni = self.__unicode__()
... | bugfix to make Users compatible for python2 and 3 | carpedm20_fbchat | train | py |
5f6a06f46de2de9fa6663bf5b7b29b27446e8d31 | diff --git a/js/hitbtc3.js b/js/hitbtc3.js
index <HASH>..<HASH> 100644
--- a/js/hitbtc3.js
+++ b/js/hitbtc3.js
@@ -1284,7 +1284,12 @@ module.exports = class hitbtc3 extends Exchange {
if (symbol !== undefined) {
market = this.market (symbol);
}
- const response = await this.private... | Hitbtc3 cancelOrder
Added swap functionality to cancelOrder | ccxt_ccxt | train | js |
1ee61b48f6e1f9c300b6fa1bc8e2ca7d0a0ba244 | diff --git a/lib/express/collection.js b/lib/express/collection.js
index <HASH>..<HASH> 100644
--- a/lib/express/collection.js
+++ b/lib/express/collection.js
@@ -377,6 +377,17 @@ Collection = Class({
},
/**
+ * Clone the collection.
+ *
+ * @return {Collection}
+ * @api public
+ */
+
+ clone: fu... | Added Collection#clone() | expressjs_express | train | js,js |
dae849b950409905415e4d640630baf084d1759c | diff --git a/lib/relations/CssUrlTokenRelation.js b/lib/relations/CssUrlTokenRelation.js
index <HASH>..<HASH> 100644
--- a/lib/relations/CssUrlTokenRelation.js
+++ b/lib/relations/CssUrlTokenRelation.js
@@ -89,7 +89,7 @@ extendWithGettersAndSetters(CssUrlTokenRelation.prototype, {
} else {
... | CssUrlTokenRelation.detach: Avoid leaving traling whitespace. | assetgraph_assetgraph | train | js |
08349289ab78e0f10af851728c5c32ae03dc2995 | diff --git a/ci/tests/puppeteer/cas.js b/ci/tests/puppeteer/cas.js
index <HASH>..<HASH> 100644
--- a/ci/tests/puppeteer/cas.js
+++ b/ci/tests/puppeteer/cas.js
@@ -260,16 +260,21 @@ exports.assertInnerText = async (page, selector, value) => {
exports.assertPageTitle = async (page, value) => {
const title = await... | clean up JS tests for puppeteer | apereo_cas | train | js |
4c0c73cc0428d8106b9cc6aabacb9678c13a61b4 | diff --git a/lib/rubocop/config_loader.rb b/lib/rubocop/config_loader.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/config_loader.rb
+++ b/lib/rubocop/config_loader.rb
@@ -28,13 +28,13 @@ module RuboCop
# Psych can give an error when reading an empty file, so we use syck in
# Ruby versions where it... | Fix problem with Psych::ENGINE for ruby-head | rubocop-hq_rubocop | train | rb |
b62f2e60b10663ae35bb755141fd78b6a7236488 | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -315,7 +315,7 @@ def parsed_institute(request):
institute = {
'institute_id': 'cust000',
'display_name': 'test_institute',
- 'sanger_recipients': ['john@doe.com... | institute creation date 1 day back in the past | Clinical-Genomics_scout | train | py |
07e0d7694938edb06bca6ec04893898ce3345584 | diff --git a/umis/umis.py b/umis/umis.py
index <HASH>..<HASH> 100644
--- a/umis/umis.py
+++ b/umis/umis.py
@@ -258,7 +258,7 @@ def fastqtransform(transform, fastq1, fastq2, fastq3, fastq4, keep_fastq_tags,
read1_dict = _extract_readnum(read1_dict)
read2_dict = _extract_readnum(... | Fix for min length and paired transformation.
Previous version needed only one read to be longer than min_length,
this swaps it to be both reads need to be longer then min_length. | vals_umis | train | py |
6c50ecd28ab04bde6324e9482d95ccaa812b6f91 | diff --git a/bika/lims/browser/fields/aranalysesfield.py b/bika/lims/browser/fields/aranalysesfield.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/fields/aranalysesfield.py
+++ b/bika/lims/browser/fields/aranalysesfield.py
@@ -102,14 +102,17 @@ class ARAnalysesField(ObjectField):
's... | ar analyses field - oops this was using specs from form, but ignoring ResultsRange for existing ARs. | senaite_senaite.core | train | py |
42ea1761b568aa5a2ebc4b4986bc26e49581229d | diff --git a/salt/engines/slack.py b/salt/engines/slack.py
index <HASH>..<HASH> 100644
--- a/salt/engines/slack.py
+++ b/salt/engines/slack.py
@@ -97,6 +97,8 @@ import re
import traceback
import yaml
+log = logging.getLogger(__name__)
+
try:
import slackclient
HAS_SLACKCLIENT = True
@@ -118,9 +120,6 @@ f... | Init logging before its first invocation | saltstack_salt | train | py |
966db9c9dd536057d0f9825756b0ebaf7559f2c1 | diff --git a/tests/test_odcs_util.py b/tests/test_odcs_util.py
index <HASH>..<HASH> 100644
--- a/tests/test_odcs_util.py
+++ b/tests/test_odcs_util.py
@@ -9,10 +9,12 @@ of the BSD license. See the LICENSE file for details.
from atomic_reactor.odcs_util import ODCSClient
from tests.retry_mock import mock_get_retry_ses... | Speed up test cases for odcs_util
This saves about <I>s per environment. | projectatomic_atomic-reactor | train | py |
a056b92deabbe628378cee4f2029d203c718b7d9 | diff --git a/repairbox/artefact.py b/repairbox/artefact.py
index <HASH>..<HASH> 100644
--- a/repairbox/artefact.py
+++ b/repairbox/artefact.py
@@ -91,9 +91,13 @@ class Artefact(object):
self.__source = source
- # TODO
@property
- def source_dir(self):
+ def source_dir(self) -> str:
+ ... | updated docs and added upload method to Artefact | squaresLab_BugZoo | train | py |
a7e1530ae093daa61105b1d334aba8197409e921 | diff --git a/src/contributor/contributor.js b/src/contributor/contributor.js
index <HASH>..<HASH> 100644
--- a/src/contributor/contributor.js
+++ b/src/contributor/contributor.js
@@ -22,7 +22,8 @@ Contributor.type = {
"name": "string", // full author name
"role": "string",
"organization": "string",
- ... | Blob support for collab images. | substance_nodes | train | js |
23f52301160090ca97934cf49cf8f83cd8a9f0a2 | diff --git a/QuickBooks/Payments.php b/QuickBooks/Payments.php
index <HASH>..<HASH> 100755
--- a/QuickBooks/Payments.php
+++ b/QuickBooks/Payments.php
@@ -629,16 +629,17 @@ class Quickbooks_Payments
*/
protected function _http($Context, $url_path, $raw_body = null, $operation = null)
{
- if($operation !== null)
... | Fixed end paren problem
Fixed missing end paren problem, some whitespace cleanup. | consolibyte_quickbooks-php | train | php |
eb67148b569ad72817ee09b220002e062e30520f | diff --git a/lib/paru/pandoc.rb b/lib/paru/pandoc.rb
index <HASH>..<HASH> 100644
--- a/lib/paru/pandoc.rb
+++ b/lib/paru/pandoc.rb
@@ -240,7 +240,7 @@ module Paru
if not [1, 2].include? major_version
throw Error.new "Unknown major pandoc version: '#{major_version}'. Expected the major version to ... | Keep support for version 1 (just not in the tests) | htdebeer_paru | train | rb |
5c3ad583a226d2e8fe386e40458e0a7e711d188c | diff --git a/src/controllers/ServerController.php b/src/controllers/ServerController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/ServerController.php
+++ b/src/controllers/ServerController.php
@@ -170,6 +170,9 @@ class ServerController extends CrudController
'tariff_like' => 'server.se... | Add filter attribute `hide_nic` and `hide_vds` to storage map in order to save it after bulk operaion | hiqdev_hipanel-module-server | train | php |
12b754800c5bc56bd0b757e335d70cee439400b7 | diff --git a/js/src/collapse.js b/js/src/collapse.js
index <HASH>..<HASH> 100644
--- a/js/src/collapse.js
+++ b/js/src/collapse.js
@@ -318,21 +318,21 @@ class Collapse {
}
_addAriaAndCollapsedClass(element, triggerArray) {
- if (element) {
- const isOpen = element.classList.contains(CLASS_NAME_SHOW)
-
-... | collapse.js: return early. | twbs_bootstrap | train | js |
9e72a2ad9cfe3e9e63411de65ecae4a2f2f707eb | diff --git a/pkg/minikube/download/iso.go b/pkg/minikube/download/iso.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/download/iso.go
+++ b/pkg/minikube/download/iso.go
@@ -79,7 +79,6 @@ func localISOPath(u *url.URL) string {
// ISO downloads and returns the path to the downloaded ISO
func ISO(urls []string, skip... | Don't show download message until downloading
For instance if the boot image already exists | kubernetes_minikube | train | go |
b04d67e41f48573215f5b92d823dcc72ac97b903 | diff --git a/src/lib/release-executor.js b/src/lib/release-executor.js
index <HASH>..<HASH> 100644
--- a/src/lib/release-executor.js
+++ b/src/lib/release-executor.js
@@ -68,7 +68,7 @@ export default class ReleaseExecutor {
this.exec('rm .npmignore')
this.exec('rm .npmrc')
- return code === 0... | remove LF from npm publish result | CureApp_node-circleci-autorelease | train | js |
0b8ee2474005ac7b8e9d3f4846039344bcfe7319 | diff --git a/spec/examples/regression_spec.rb b/spec/examples/regression_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/examples/regression_spec.rb
+++ b/spec/examples/regression_spec.rb
@@ -113,6 +113,12 @@ describe IceCube do
require 'active_support/time'
+ it 'should not hang over DST [#53]' do
+ schedule... | Added regression test for [#<I>] | seejohnrun_ice_cube | train | rb |
7cf85c5e71a442aafa812763b74e30868d1b3c7f | diff --git a/consensus/state.go b/consensus/state.go
index <HASH>..<HASH> 100644
--- a/consensus/state.go
+++ b/consensus/state.go
@@ -24,7 +24,7 @@ var (
timeoutPrevoteDelta = 0500 * time.Millisecond // timeoutPrevoteN is timeoutPrevote0 + timeoutPrevoteDelta*N
timeoutPrecommit0 = 1000 * time.Millisecond // ... | Change commit timeout to 1 sec for testing | tendermint_tendermint | train | go |
338f2c1a691f11b402b8ef8a7c4ea87c0017080c | diff --git a/src/Console/ConsoleApplication.php b/src/Console/ConsoleApplication.php
index <HASH>..<HASH> 100644
--- a/src/Console/ConsoleApplication.php
+++ b/src/Console/ConsoleApplication.php
@@ -57,6 +57,8 @@ final class ConsoleApplication extends Application
$this->addCommands($commands);
$this... | make process the default command (#<I>) | rectorphp_rector | train | php |
e904894983cfcad69138775dc359dbaa8b467eb3 | diff --git a/code/extensions/CDNFile.php b/code/extensions/CDNFile.php
index <HASH>..<HASH> 100644
--- a/code/extensions/CDNFile.php
+++ b/code/extensions/CDNFile.php
@@ -147,6 +147,7 @@ class CDNFile extends DataExtension {
if ($this->owner->ParentID) {
return $this->owner->Parent()->get... | BUGFIX: get member object before passing it as a param | symbiote_silverstripe-cdncontent | train | php |
d4611b6a0fe48420f79f16869fd8c97c96b195f0 | diff --git a/src/render-to-layer.js b/src/render-to-layer.js
index <HASH>..<HASH> 100644
--- a/src/render-to-layer.js
+++ b/src/render-to-layer.js
@@ -89,12 +89,12 @@ const RenderToLayer = React.createClass({
},
_unrenderLayer: function() {
- if (this.layerWillUnmount) {
- this.layerWillUnmount(this._... | routed dialog unrender layer being called twice | mui-org_material-ui | train | js |
b51151de6543772b4f1c51e208d5ad454bdbae6e | diff --git a/src/frontend/org/voltdb/export/ExportDataSource.java b/src/frontend/org/voltdb/export/ExportDataSource.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/export/ExportDataSource.java
+++ b/src/frontend/org/voltdb/export/ExportDataSource.java
@@ -864,9 +864,13 @@ public class ExportDataSource im... | ENG-<I>: Don't send acks from an export replica.
Only send acks from master to replicas, never from a replica to other
replicas. This could happen when a node rejoins and drains its on-disk
generations. Other replicas don't expect to receive these acks with Long.MIN as
the USO. If the receiving replica gets promoted d... | VoltDB_voltdb | train | java |
833ab401d8a7dd17c2f5ca02d71cf0c9e80d9e29 | diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb
+++ b/sona... | Fix issue when deleting copy of rule | SonarSource_sonarqube | train | rb |
52e9b1186b2a2bb3e48865dfd9cbbd544db341cb | diff --git a/pandas/conftest.py b/pandas/conftest.py
index <HASH>..<HASH> 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -61,8 +61,10 @@ def pytest_runtest_setup(item):
"skipping high memory test since --run-high-memory was not set")
# if "db" not explicitly set in the -m pattern, we sk... | TST: Fixing bug in skipping db tests by default (#<I>) | pandas-dev_pandas | train | py |
723563e38958c770c2ed768ce4e23a680144aee2 | diff --git a/sendgrid/message.py b/sendgrid/message.py
index <HASH>..<HASH> 100644
--- a/sendgrid/message.py
+++ b/sendgrid/message.py
@@ -8,7 +8,7 @@ except Exception as e:
from smtpapi import SMTPAPIHeader
-class Mail():
+class Mail(object):
"""SendGrid Message.""" | Upgrade Mail to new-style class, on Python 2.x.
May help with issue #<I>. | sendgrid_sendgrid-python | train | py |
65b473697644517bf961d90a3973d4ea2cdda78a | diff --git a/anyconfig/backend/bson.py b/anyconfig/backend/bson.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backend/bson.py
+++ b/anyconfig/backend/bson.py
@@ -50,6 +50,7 @@ class Parser(anyconfig.backend.base.FromStringLoader,
_dump_opts = ["check_keys", "uuid_subtype"]
_open_flags = ('rb', 'wb')
_or... | fix: [bson] add member _dict_options to the parser | ssato_python-anyconfig | train | py |
7de66a99b51ba5c20673693f0bc67eca67af8076 | diff --git a/limitlessled/group/commands/v6.py b/limitlessled/group/commands/v6.py
index <HASH>..<HASH> 100644
--- a/limitlessled/group/commands/v6.py
+++ b/limitlessled/group/commands/v6.py
@@ -63,7 +63,7 @@ class CommandSetV6(CommandSet):
:param color: The RGB color tuple.
:return: The color in byte... | Fixed bug in color conversion for v6. | happyleavesaoc_python-limitlessled | train | py |
cdfcc9e42f6b7194008619dbc48a226402717539 | diff --git a/box-content-sdk/src/main/java/com/box/androidsdk/content/models/BoxRecentItem.java b/box-content-sdk/src/main/java/com/box/androidsdk/content/models/BoxRecentItem.java
index <HASH>..<HASH> 100644
--- a/box-content-sdk/src/main/java/com/box/androidsdk/content/models/BoxRecentItem.java
+++ b/box-content-sdk/... | AND-<I> - Allow child classes to read static recent definitions | box_box-android-sdk | train | java |
76f03f000a1b0d94fd20d24a9f0f63ae939c8fc8 | diff --git a/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere_util.go b/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere_util.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere_util.go
+++ b/staging/src/k8s.io/legacy-cloud-providers/vsphere/vsphere_util.go
@... | Fix use variables in the loop in vsphere_util | kubernetes_kubernetes | train | go |
894778b296214c57ee84706280f6622c7d05a8eb | diff --git a/src/plugins/GoogleDrive.js b/src/plugins/GoogleDrive.js
index <HASH>..<HASH> 100644
--- a/src/plugins/GoogleDrive.js
+++ b/src/plugins/GoogleDrive.js
@@ -140,13 +140,22 @@ export default class Google extends Plugin {
}
renderAuth () {
- return `<div><h1>Authenticate With Google Drive</h1><a href... | Added yo to template strings | transloadit_uppy | train | js |
b32b965e40ef03aefc2efd92368fda799222d0fe | diff --git a/lib/odba/persistable.rb b/lib/odba/persistable.rb
index <HASH>..<HASH> 100644
--- a/lib/odba/persistable.rb
+++ b/lib/odba/persistable.rb
@@ -603,7 +603,6 @@ class Hash # :nodoc: all
replace dup
true
else
- puts "returning false"
false
end
end | Remove debugging output that shouldn't be there... | zdavatz_odba | train | rb |
f75dd8f72b32bccbb731127dfe72f69986870d79 | diff --git a/lib/couchbase/collection_options.rb b/lib/couchbase/collection_options.rb
index <HASH>..<HASH> 100644
--- a/lib/couchbase/collection_options.rb
+++ b/lib/couchbase/collection_options.rb
@@ -91,6 +91,7 @@ module Couchbase
attr_accessor :expiry
# @return [String] The encoded content when load... | 📝 RCBC-<I>: mark parts of GetResult API as private
Change-Id: I<I>c<I>d<I>ab5ff<I>b<I>bf<I>a<I>
Reviewed-on: <URL> | couchbase_couchbase-ruby-client | train | rb |
d540f8d5c5dcf67fc34328a3b400333af423ab34 | diff --git a/pydle/client.py b/pydle/client.py
index <HASH>..<HASH> 100644
--- a/pydle/client.py
+++ b/pydle/client.py
@@ -104,7 +104,8 @@ class BasicClient:
# Schedule pinger.
self._ping_checker_handle = self.eventloop.schedule_periodically(PING_TIMEOUT / 2, self._check_ping_timeout)
# Set l... | Only set server tag if it's valid. | Shizmob_pydle | train | py |
37f532cc0afe9271aea9b99b4261dd6729daa546 | diff --git a/App/App.php b/App/App.php
index <HASH>..<HASH> 100644
--- a/App/App.php
+++ b/App/App.php
@@ -451,7 +451,7 @@ class App
return $this->moduleTypes[$type];
}
- return null;
+ return array();
}
/** @return Module */ | App: getModulesByType now returns empty array when no module has been found | cyantree_grout | train | php |
35c2bd7bccfd68c87d339e734dd572d52572be29 | diff --git a/upload/catalog/controller/api/sale/order.php b/upload/catalog/controller/api/sale/order.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/controller/api/sale/order.php
+++ b/upload/catalog/controller/api/sale/order.php
@@ -129,7 +129,7 @@ class Order extends \Opencart\System\Engine\Controller {
fore... | Pushed variable from comma | opencart_opencart | train | php |
96c46b26230b6f0f4a52236fe275bef5e3942147 | diff --git a/scripts/release.js b/scripts/release.js
index <HASH>..<HASH> 100755
--- a/scripts/release.js
+++ b/scripts/release.js
@@ -52,7 +52,10 @@ function main() {
});
insertBanner(config.bannerFiles, banner);
- gitAdd(config.files)
+ gitAdd(config.bannerFiles)
+ .then(funciton() {
+ ... | Add dist files to commit banners in them | kimmobrunfeldt_progressbar.js | train | js |
38cf13c8862274d4662226a653b968b407148f8e | diff --git a/bl/string.py b/bl/string.py
index <HASH>..<HASH> 100644
--- a/bl/string.py
+++ b/bl/string.py
@@ -51,6 +51,10 @@ class String(str):
else:
return h.hexdigest()
+ def base64(self):
+ import base64 as b64
+ return b64.urlsafe_b64encode(bytes(self, encoding='utf-8'... | String.base<I>() is now a thing | BlackEarth_bl | train | py |
83614aa97fb0937e24a879288f2cb26b68b091e0 | diff --git a/grunt/tasks/serve.js b/grunt/tasks/serve.js
index <HASH>..<HASH> 100644
--- a/grunt/tasks/serve.js
+++ b/grunt/tasks/serve.js
@@ -14,7 +14,7 @@ module.exports = function (grunt) {
}, BOUNCE_DELAY);
grunt.event.on("watch", function (action, filepath) {
- if (action !== "delete... | no-magic-numbers (#<I>) | ArnaudBuchholz_gpf-js | train | js |
7d189814cbf6d4c55e8a47b06234736cb1e03457 | diff --git a/tree.go b/tree.go
index <HASH>..<HASH> 100644
--- a/tree.go
+++ b/tree.go
@@ -535,7 +535,7 @@ walk: // Outer loop for walking the tree
// No handle found. Check if a handle for this path + a
// trailing slash exists for TSR recommendation
n = n.children[0]
- value.tsr = n.path == ... | fix: wrong when wildcard follows named param (#<I>) | gin-gonic_gin | train | go,go |
e7dd7509682824157f1d390c2c1a37dcef3b9891 | diff --git a/mockserver-core/src/main/java/org/mockserver/matchers/RegexStringMatcher.java b/mockserver-core/src/main/java/org/mockserver/matchers/RegexStringMatcher.java
index <HASH>..<HASH> 100644
--- a/mockserver-core/src/main/java/org/mockserver/matchers/RegexStringMatcher.java
+++ b/mockserver-core/src/main/java/o... | #<I> added extra null pointer checks | jamesdbloom_mockserver | train | java |
7b10828ee30aa07e3434afae2dc1dfcc60433375 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='zerotk.reraiseit',
- version='2.0.2',
+ use_scm_version=True,
author='Alexandre Andrade',
author_email='kaniabi@gmail.com',
@@ -45,6 +45,7 @@ set... | Using setuptools_scm to manage version numbers. | zerotk_reraiseit | train | py |
8cb931ed4da75ff2d84cfa352bd12d94c98a4257 | diff --git a/tests-arquillian/src/test/java/org/jboss/weld/tests/proxy/enterprise/EnterpriseBeanProxyTest.java b/tests-arquillian/src/test/java/org/jboss/weld/tests/proxy/enterprise/EnterpriseBeanProxyTest.java
index <HASH>..<HASH> 100644
--- a/tests-arquillian/src/test/java/org/jboss/weld/tests/proxy/enterprise/Enterp... | WELD-<I> EnterpriseBeanProxyTest also works and has issues resolved (though one out-of-date) | weld_core | train | java |
2421d5b6d3dffef48162f191242bbc44f8da3767 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,8 +15,7 @@
#
import os
import sys
-sys.path.insert(0, os.path.join(os.path.abspath('..'), 'twilio'))
-sys.path.append('..')
+sys.path.insert(0, os.path.abspath('..'))
from twilio import __version__ | Prepend the repo root to the system paths during doc generation (#<I>) | twilio_twilio-python | train | py |
3eae7c5a776c4c9f0a1deb08b95b20eec0d23351 | diff --git a/plugin/lib/tools.js b/plugin/lib/tools.js
index <HASH>..<HASH> 100644
--- a/plugin/lib/tools.js
+++ b/plugin/lib/tools.js
@@ -1219,7 +1219,6 @@ function getArtInd(pkg,mainArticleName){
function unlinkList(toUnlink,callback){
async.each(toUnlink,
function(file,cb){
- console.log(file);
... | oapmc entries may not have a pmid | sballesteros_dcat | train | js,js |
362fd7d7d268904d2b7ed4a5d5c9aa988357112d | diff --git a/test/hierarchy_test.rb b/test/hierarchy_test.rb
index <HASH>..<HASH> 100644
--- a/test/hierarchy_test.rb
+++ b/test/hierarchy_test.rb
@@ -217,13 +217,14 @@ class HierarchyTest < MiniTest::Unit::TestCase
end
def test_finds_all_leaves
- root = TreeNode.create!
- child1 = TreeNode.create!(parent... | Adjust the test when root is also a leaf | cfabianski_ltree_hierarchy | train | rb |
759ffe5a7f0994805901c6ab7580ed44209421e4 | diff --git a/eztemplate.py b/eztemplate.py
index <HASH>..<HASH> 100755
--- a/eztemplate.py
+++ b/eztemplate.py
@@ -4,6 +4,7 @@
from __future__ import print_function
import argparse
+import errno
import os
import os.path
import re
@@ -326,7 +327,11 @@ def process_combinations(combinations, engine):
w... | Don't fail on removing nonexistent files. | blubberdiblub_eztemplate | train | py |
de8c826919b641d7d8ec4c2453421417b57c7440 | diff --git a/openquake/hazardlib/tests/gsim/check_gsim.py b/openquake/hazardlib/tests/gsim/check_gsim.py
index <HASH>..<HASH> 100755
--- a/openquake/hazardlib/tests/gsim/check_gsim.py
+++ b/openquake/hazardlib/tests/gsim/check_gsim.py
@@ -143,9 +143,12 @@ def _format_stats(time_spent, discrepancies, errors, ctxs):
... | Fixed windows issue with time_spent=0 | gem_oq-engine | train | py |
e47d0bd5e2511799180d569cfde18fc816eea2ba | diff --git a/src/actionFn.js b/src/actionFn.js
index <HASH>..<HASH> 100644
--- a/src/actionFn.js
+++ b/src/actionFn.js
@@ -259,6 +259,7 @@ export default function actionFn(url, name, options, ACTIONS={}, meta={}) {
)(dispatch, getState);
}
});
+ result.catch(none);
return result;
... | Revert catch promise uncatched errors | lexich_redux-api | train | js |
3f696190da9332d779d510493c3c44223d6d970d | diff --git a/fluent_contents/templatetags/placeholder_tags.py b/fluent_contents/templatetags/placeholder_tags.py
index <HASH>..<HASH> 100644
--- a/fluent_contents/templatetags/placeholder_tags.py
+++ b/fluent_contents/templatetags/placeholder_tags.py
@@ -1,14 +1,32 @@
import warnings
+from django.template import Lib... | Improved warning from placeholder_tags usage
The previous deprecation warning mechanism in placeholder_tags.py threw a
warning whether it was used or not, so I adjusted it slightly
to only emit the warning if a template tag is used. | django-fluent_django-fluent-contents | train | py |
53b2fb634d3b971dc2068a589149995e918b2f1b | diff --git a/examples/server/server.py b/examples/server/server.py
index <HASH>..<HASH> 100644
--- a/examples/server/server.py
+++ b/examples/server/server.py
@@ -1,3 +1,4 @@
+import asyncio
import json
import logging
import os
@@ -21,6 +22,7 @@ async def offer(request):
type=offer['type'])
pc = RTCP... | [examples] shutdown cleanly | aiortc_aiortc | train | py |
a93b127aca94c6a6be4d9b103328df64c44906c7 | diff --git a/identitytoolkit/gitkitclient.py b/identitytoolkit/gitkitclient.py
index <HASH>..<HASH> 100644
--- a/identitytoolkit/gitkitclient.py
+++ b/identitytoolkit/gitkitclient.py
@@ -192,7 +192,7 @@ class GitkitClient(object):
def FromConfigFile(cls, config):
json_data = simplejson.load(open(config))
- ... | changed to use open() instead of file() | google_identity-toolkit-python-client | train | py |
d4e3f47d239cbd4d169e394772d78667182865af | diff --git a/mixins/observe.js b/mixins/observe.js
index <HASH>..<HASH> 100644
--- a/mixins/observe.js
+++ b/mixins/observe.js
@@ -145,6 +145,9 @@ module.exports = {
if(opts.populate)
this.populate();
+
+ if(opts.extract)
+ this.extract();
},
unobserve: function(clear) {
@@ -161,6 +164,15 @@ module.ex... | Implement extract functionality in mixins/observe, which extract information from the
DOM (does a get). | thecodebureau_ridge | train | js |
41e38990fee22e7d31071024f1896e9b7376750f | diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js
index <HASH>..<HASH> 100644
--- a/lib/media/media_source_engine.js
+++ b/lib/media/media_source_engine.js
@@ -664,8 +664,7 @@ shaka.media.MediaSourceEngine.prototype.setTimestampOffset_ =
*/
shaka.media.MediaSourceEngine.prototype.setAp... | Revert MediaSource append window fudge factor
This hack is no longer needed to avoid gaps, since we now have a
gap-jumping implementation in the player.
The fudge factor was causing rounding errors in presentation duration
after an end-of-stream event, which could lead to playback hangs in
certain content.
Closes #<... | google_shaka-player | train | js |
a14f5e6051f6314b77815fd4f2bf6b1ba3ed08fd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
import tfrddlsim
import os
-from setuptools import setup
+from setuptools import setup, find_packages
def read(filename):
@@ -20,10 +20,11 @@ setup(
license='GNU General Public License v3.0',
ke... | Automatically find_packages() in setup.py | thiagopbueno_tf-rddlsim | train | py,py |
8298f2319fb3cc0838143d8a982dfa16b433dcc0 | diff --git a/django_q/conf.py b/django_q/conf.py
index <HASH>..<HASH> 100644
--- a/django_q/conf.py
+++ b/django_q/conf.py
@@ -1,4 +1,5 @@
import logging
+from copy import deepcopy
from signal import signal
from multiprocessing import cpu_count, Queue
@@ -50,6 +51,9 @@ class Conf(object):
# ORM broker
OR... | Fixes issue with rollbar configuration | Koed00_django-q | train | py |
2e79bd8e051e4f9848b1e19dffe728193927cf33 | diff --git a/test/common/testcase.rb b/test/common/testcase.rb
index <HASH>..<HASH> 100644
--- a/test/common/testcase.rb
+++ b/test/common/testcase.rb
@@ -28,9 +28,11 @@ module OpenSCAP
FileUtils.rm_rf workdir
Dir.mkdir workdir
Dir.chdir workdir
+ @s = nil
end
def cleanup
+ @s... | tests: Make sure to clean session after each test. | OpenSCAP_ruby-openscap | train | rb |
e636e9ff69d950b1d1185b28d859f38eb9fffd9c | diff --git a/src/Cart/Helpers/CartConditionHelper.php b/src/Cart/Helpers/CartConditionHelper.php
index <HASH>..<HASH> 100644
--- a/src/Cart/Helpers/CartConditionHelper.php
+++ b/src/Cart/Helpers/CartConditionHelper.php
@@ -41,6 +41,7 @@ trait CartConditionHelper
{
$action = $this->parseAction($action);
... | Round cart condition values (#<I>)
* Round cart conditions
* Use initial approach and make precision configurable | tastyigniter_flame | train | php |
fda902a6371667fdad357f2f2050760b864c5e54 | diff --git a/save.php b/save.php
index <HASH>..<HASH> 100644
--- a/save.php
+++ b/save.php
@@ -65,6 +65,13 @@ case 'site_setting':
// Validation
switch ($id1) {
case 'MAX_EXECUTION_TIME':
+ if ($value=='') {
+ // Delete the existing value
+ $value=null;
+ } elseif (!is_numeric($value)) {
+ fail();
+ }
+ ... | Allow the ability to delete the memory_limit and max_execution_time settings, so we can revert to PHP defaults. | fisharebest_webtrees | train | php |
27012cbdda9fb01a17c13a652cc94e0ed0d6e3ab | diff --git a/test/active_model_test.rb b/test/active_model_test.rb
index <HASH>..<HASH> 100644
--- a/test/active_model_test.rb
+++ b/test/active_model_test.rb
@@ -51,6 +51,7 @@ class ActiveModelTest < ActiveModel::TestCase
end
def setup
+ Related.redis.flushall
@model = Related::Entity.new
end | Added missing Related.redis.flushall to ActiveModelTest#setup. | niho_related | train | rb |
e93f66284702674762ec7a6d2f3612adb3657894 | diff --git a/yagocd/exception.py b/yagocd/exception.py
index <HASH>..<HASH> 100644
--- a/yagocd/exception.py
+++ b/yagocd/exception.py
@@ -41,7 +41,13 @@ class RequestError(YagocdException):
"""
def __init__(self, summary, response):
+ """
+ :type summary: str
+ :type response: requests... | Save response object in the exception for extracting valuable information. | grundic_yagocd | train | py |
21bc81da6ff23ddd2059525e15e33f70ea8b01ec | diff --git a/lib/demeteorizer.js b/lib/demeteorizer.js
index <HASH>..<HASH> 100644
--- a/lib/demeteorizer.js
+++ b/lib/demeteorizer.js
@@ -13,13 +13,14 @@ const modulesNotInRegistry = [
];
/**
- * Escapes spaces out of the specified path.
+ * Escapes special characters out of the specified path.
* @param {String}... | updated to escape ampersands from paths
Replace ampersands in file paths with \& to allow the shell to correctly
access the directories.
Closes #<I>. | XervoIO_demeteorizer | train | js |
b07bc142aa6b9b6624e5a1f0934ca53ec0bbcdfc | diff --git a/lib/authlogic/controller_adapters/sinatra_adapter.rb b/lib/authlogic/controller_adapters/sinatra_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/authlogic/controller_adapters/sinatra_adapter.rb
+++ b/lib/authlogic/controller_adapters/sinatra_adapter.rb
@@ -11,7 +11,7 @@ module Authlogic
end
... | Fixed destroying cookies on sinatra | binarylogic_authlogic | train | rb |
0948a5d94f209110936f9dbfaf86fab5bb455d3d | diff --git a/fandjango/middleware.py b/fandjango/middleware.py
index <HASH>..<HASH> 100644
--- a/fandjango/middleware.py
+++ b/fandjango/middleware.py
@@ -72,10 +72,10 @@ class FacebookMiddleware():
# User has not authorized the application...
else:
- request.faceb... | Set request.facebook_user to None as advertised if no signed request is available | jgorset_fandjango | train | py |
d2b51a6bd52d4d3b9bcc9458884051abf49950d2 | diff --git a/tasks/clean.js b/tasks/clean.js
index <HASH>..<HASH> 100644
--- a/tasks/clean.js
+++ b/tasks/clean.js
@@ -21,10 +21,7 @@ module.exports = function(grunt) {
// cleaning outside cwd?
grunt.helper('cleanOutsideCWD', this.data);
- // cleaning actual cwd!?
- // grunt.helper('cleanCWD', this.da... | add test and helper to identify when cleaning outside current working dir | reputationdefender_grunt-clean | train | js |
2c084ea20136d19bd974c32e9e56638a408968ed | diff --git a/lib/chef/providers.rb b/lib/chef/providers.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/providers.rb
+++ b/lib/chef/providers.rb
@@ -27,7 +27,7 @@ undef :daemonize if methods.include?('daemonize')
begin
expanded_lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
normalized_lib_pat... | compare normalized path to normalized path | rightscale_right_link | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.