hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
1111e27846c06d304dca3cbac96a66d575d7390e | diff --git a/src/components/provider.js b/src/components/provider.js
index <HASH>..<HASH> 100644
--- a/src/components/provider.js
+++ b/src/components/provider.js
@@ -86,14 +86,16 @@ export function createCommonHandlers (ctx) {
if (!onValidate || ctx.$veeDebounce !== ctx.debounce) {
onValidate = debounce(
... | fix #<I> (#<I>)
fix: event value mismatch with model value for checkboxes (fix #<I>) | baianat_vee-validate | train |
e2c24c41564a147df76f8043eaa0172d1b18b391 | diff --git a/src/main/java/com/github/underscore/$.java b/src/main/java/com/github/underscore/$.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/underscore/$.java
+++ b/src/main/java/com/github/underscore/$.java
@@ -1842,7 +1842,7 @@ public class $<T> {
return string;
}
- private stati... | Add visibility for array generator in plugins. | javadev_underscore-java | train |
d984ce7c21fcdf03950d1f2e17d6daabcbb7b0f0 | diff --git a/trimesh/viewer/windowed.py b/trimesh/viewer/windowed.py
index <HASH>..<HASH> 100644
--- a/trimesh/viewer/windowed.py
+++ b/trimesh/viewer/windowed.py
@@ -36,6 +36,7 @@ class SceneViewer(pyglet.window.Window):
start_loop=True,
callback=None,
callback_per... | Add caption arg to SceneViewer to configure window title | mikedh_trimesh | train |
35d299145a8bc1d2b6867919a0426488e519423d | diff --git a/lib/classes/Bridge/Element.php b/lib/classes/Bridge/Element.php
index <HASH>..<HASH> 100644
--- a/lib/classes/Bridge/Element.php
+++ b/lib/classes/Bridge/Element.php
@@ -14,85 +14,71 @@ use Alchemy\Phrasea\Application;
class Bridge_Element
{
/**
- *
* @var appbox
*/
protected $a... | Fixup mismatch updated/uploaded test | alchemy-fr_Phraseanet | train |
7f0ff02a2269f8c3e324a13aa217ee3c9d798110 | diff --git a/test/testUtils/__init__.py b/test/testUtils/__init__.py
index <HASH>..<HASH> 100644
--- a/test/testUtils/__init__.py
+++ b/test/testUtils/__init__.py
@@ -12,7 +12,7 @@ import pytest
import os
import sys
-py27onlytest = pytest.mark.skipif(sys.version_info > (3,0), reason="Doesn't support running in mult... | Move DSC tests to py<I> job (where code coverage is measured) | ibm-watson-iot_iot-python | train |
b50fc181692867e32c30c40c8e31d2b6ea75f084 | diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/toolchain.py
+++ b/pythonforandroid/toolchain.py
@@ -142,6 +142,8 @@ def require_prebuilt_dist(func):
user_ndk_api=self.ndk_api)
dist = self._dist... | Allowed dists to be overwritten by default | kivy_python-for-android | train |
c170673dd900bf04dd3ea50ca5f4f67c06769dd6 | diff --git a/spec/suites/rspec_2/integration/rspec_2_spec.rb b/spec/suites/rspec_2/integration/rspec_2_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/suites/rspec_2/integration/rspec_2_spec.rb
+++ b/spec/suites/rspec_2/integration/rspec_2_spec.rb
@@ -46,21 +46,6 @@ describe 'Integration with RSpec 2' do
end
end... | Remove unmaintainable specs | rr_rr | train |
61cf815aa0fec63dac76b5db0f8fbb1d5e8d5067 | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -891,7 +891,7 @@ var CodeMirror = (function() {
var line = lines[pos.line].text;
var start = pos.ch, end = pos.ch;
while (start > 0 && /\w/.test(line.charAt(start - 1)))... | fix bug in dblclick-highlighting never selecting the last char in a line | codemirror_CodeMirror | train |
f6b180792508d8b106868c9e2cb28c9f84b797df | diff --git a/modules/custom/openy_pef_gxp_sync/src/syncer/FetcherEmbed.php b/modules/custom/openy_pef_gxp_sync/src/syncer/FetcherEmbed.php
index <HASH>..<HASH> 100644
--- a/modules/custom/openy_pef_gxp_sync/src/syncer/FetcherEmbed.php
+++ b/modules/custom/openy_pef_gxp_sync/src/syncer/FetcherEmbed.php
@@ -231,20 +231,2... | Trimmed Class (room) metadata on sync. | ymcatwincities_openy | train |
af4dbfa9daca1bbb3291532cf7c50c85cdb337c1 | diff --git a/lib/ronin/network/extensions/http/net.rb b/lib/ronin/network/extensions/http/net.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/network/extensions/http/net.rb
+++ b/lib/ronin/network/extensions/http/net.rb
@@ -48,7 +48,7 @@ module Net
# @option options [String] :path
# The path to request from the ... | Updated the docs for Net.http_session. | ronin-ruby_ronin | train |
945b0a9c8b2d4dfb0b9395e449efeda61e75bfc8 | diff --git a/tests/test_segments.py b/tests/test_segments.py
index <HASH>..<HASH> 100644
--- a/tests/test_segments.py
+++ b/tests/test_segments.py
@@ -1,7 +1,11 @@
from dpath import options
-from hypothesis import given, assume
+from hypothesis import given, assume, settings, HealthCheck
import dpath.segments as api
... | Disable too slow detection.
This often fails on the CI and it should usually work. | akesterson_dpath-python | train |
977eee2c30bdcc683784ff9a64eb48183bb18e59 | diff --git a/samples/LowLevel/InitTokenPin.py b/samples/LowLevel/InitTokenPin.py
index <HASH>..<HASH> 100755
--- a/samples/LowLevel/InitTokenPin.py
+++ b/samples/LowLevel/InitTokenPin.py
@@ -19,11 +19,14 @@
from __future__ import print_function
import PyKCS11.LowLevel
+import os
a = PyKCS11.LowLevel.CPKCS11Lib()... | LowLevel samples: use PYKCS<I>LIB environment variable
Do not hardcode the PKCS#<I> library in the sample source code but use
the PYKCS<I>LIB environment variable instead.
PYKCS<I>LIB is already used by the higher level API. | LudovicRousseau_PyKCS11 | train |
c67c31b6f830364d8db9a2288769c8135ac6ada0 | diff --git a/lib/attrtastic.rb b/lib/attrtastic.rb
index <HASH>..<HASH> 100644
--- a/lib/attrtastic.rb
+++ b/lib/attrtastic.rb
@@ -4,7 +4,7 @@ module Attrtastic
@@value_methods = %w/ to_label display_name full_name name title username login value to_s /
- attr_reader :record, :template
+ attr_reader :r... | Removed mandatory method name argument from attribute | MBO_attrtastic | train |
2a4edf432f6ab051be3f5c0887ddd6a4872386ea | diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -96,6 +96,8 @@ class FileListDialog(QDialog):
def __init__(self, parent, combo, fullpath_sorting):
QDialog.__init__(self, parent)
... | Editor/bugfix: file list management dialog was not working when filtering the opened file list | spyder-ide_spyder | train |
1bbe12b206ad83587ec665d55c9e0f9addfe329f | diff --git a/src/Engine/GEOSEngine.php b/src/Engine/GEOSEngine.php
index <HASH>..<HASH> 100644
--- a/src/Engine/GEOSEngine.php
+++ b/src/Engine/GEOSEngine.php
@@ -6,7 +6,6 @@ use Brick\Geo\Exception\GeometryEngineException;
use Brick\Geo\IO\EWKBReader;
use Brick\Geo\IO\EWKBWriter;
use Brick\Geo\Geometry;
-use Brick\... | GEOSEngine now uses WKT for all empty geometries | brick_geo | train |
2864b537c668594db9b3d467a54b48c6886671db | diff --git a/core/codegen-runtime/src/main/java/org/overture/codegen/runtime/IO.java b/core/codegen-runtime/src/main/java/org/overture/codegen/runtime/IO.java
index <HASH>..<HASH> 100644
--- a/core/codegen-runtime/src/main/java/org/overture/codegen/runtime/IO.java
+++ b/core/codegen-runtime/src/main/java/org/overture/c... | Issue #<I>. Implemented support for the experimental 'sprintf' feature in the IO library | overturetool_overture | train |
51e70d636615bdb486a7df38eaac92df6bf82b6e | diff --git a/lib/starting_blocks.rb b/lib/starting_blocks.rb
index <HASH>..<HASH> 100644
--- a/lib/starting_blocks.rb
+++ b/lib/starting_blocks.rb
@@ -12,6 +12,7 @@ module StartingBlocks
attr_accessor :verbose
attr_accessor :options
attr_accessor :arguments
+ attr_accessor :conditional_operations
... | Move the conditional operations to base, so they can be altered later. | darrencauthon_starting_blocks | train |
de5386f5e6087e965f4836612e7a593a900dc268 | diff --git a/src/actions/tabs.js b/src/actions/tabs.js
index <HASH>..<HASH> 100644
--- a/src/actions/tabs.js
+++ b/src/actions/tabs.js
@@ -26,9 +26,8 @@ import type { Action, ThunkArgs } from "./types";
import type { Source } from "../types";
export function updateTab(source: Source, framework: string): Action {
- ... | Tiny code cleanup for sourceId and tabs (#<I>) | firefox-devtools_debugger | train |
b647c93576617099f51b82d9aff73cd9437e2b42 | diff --git a/lib/appsignal/hooks.rb b/lib/appsignal/hooks.rb
index <HASH>..<HASH> 100644
--- a/lib/appsignal/hooks.rb
+++ b/lib/appsignal/hooks.rb
@@ -37,7 +37,9 @@ module Appsignal
install
@installed = true
rescue => ex
- Appsignal.logger.error("Error while installing #{name} ho... | Add more logging for errors in debug mode (#<I>)
When an error occurs we want to know the backtrace in debug mode so we
can track the problem down in more detail before having to be able to
reproduce it. The backtrace may help in reproducing it as well. | appsignal_appsignal-ruby | train |
a27184125616dda7283f110a177174f9a25fa11f | diff --git a/prow/config/config.go b/prow/config/config.go
index <HASH>..<HASH> 100644
--- a/prow/config/config.go
+++ b/prow/config/config.go
@@ -1162,6 +1162,8 @@ func ReadJobConfig(jobConfig string) (JobConfig, error) {
// since updateconfig plugin will use basename as a key in the configmap
uniqueBasenames := s... | Adding duration timers to the Config initialization | kubernetes_test-infra | train |
7349a72788de421e3c683b130c4e651da1dd8712 | diff --git a/sources/lib/Connection.php b/sources/lib/Connection.php
index <HASH>..<HASH> 100644
--- a/sources/lib/Connection.php
+++ b/sources/lib/Connection.php
@@ -349,11 +349,11 @@ class Connection
*
* @access public
* @param string $sql The sql statement to execute.
- * @return Result... | Removed mute operator before queries. | pomm-project_Foundation | train |
52bd89fbd0ef087f25648bd1b61b0a17f45fe80d | diff --git a/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/ApiConnection.java b/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/ApiConnection.java
index <HASH>..<HASH> 100644
--- a/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/ApiConnection.java
+++ b/wdtk-wikibaseapi/src/main... | Remove erroneous references to PasswordApiConnection
Closes #<I> | Wikidata_Wikidata-Toolkit | train |
60d5aaeb8de1779e67657bfe59b566f4a63d6192 | diff --git a/src/renderer.js b/src/renderer.js
index <HASH>..<HASH> 100644
--- a/src/renderer.js
+++ b/src/renderer.js
@@ -475,11 +475,6 @@ vgl.renderer = function() {
this.removeActor = function(actor) {
if (m_sceneRoot.children().indexOf(actor) !== -1) {
m_sceneRoot.removeChild(actor);
-
- if (m_s... | Do not set resetScene flag to true if children = 0
This does not make sense in a dynamic environement. As we remove
actors from the scene, we just want the same old camera position
most of the time. | OpenGeoscience_vgl | train |
ca03803179ff8cb0c36b17a06f8989e81c3c9c24 | diff --git a/packages/api-page-builder/src/plugins/graphql.js b/packages/api-page-builder/src/plugins/graphql.js
index <HASH>..<HASH> 100644
--- a/packages/api-page-builder/src/plugins/graphql.js
+++ b/packages/api-page-builder/src/plugins/graphql.js
@@ -7,6 +7,7 @@ import page from "./graphql/Page";
import category f... | wip: add install-related fields | Webiny_webiny-js | train |
8d0bfd24c916649d4a5bde6973839ee5e375caab | diff --git a/src/pywws/__init__.py b/src/pywws/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pywws/__init__.py
+++ b/src/pywws/__init__.py
@@ -1,3 +1,3 @@
__version__ = '18.8.0'
-_release = '1606'
-_commit = '90907f6'
+_release = '1607'
+_commit = '9668be3'
diff --git a/src/pywws/service/__init__.py b/src/pywws/se... | Log number of "file" service uploads | jim-easterbrook_pywws | train |
ef5b0b44f1dc59f8c036e5855a4863492a8e20e2 | diff --git a/lib/jumpstart/base.rb b/lib/jumpstart/base.rb
index <HASH>..<HASH> 100644
--- a/lib/jumpstart/base.rb
+++ b/lib/jumpstart/base.rb
@@ -34,7 +34,6 @@ module JumpStart
# set instance variable @template_path as the directory to read templates from.
@template_path = FileUtils.join_paths(@jumpstart... | moved @existing_templates variable initialization into look_up_existing templates method to avoid duplicate entries in menus | i0n_jumpstart | train |
80b2b89ec31804b09a178d84e76c222e56dd4a51 | diff --git a/src/SelfUpdateCommand.php b/src/SelfUpdateCommand.php
index <HASH>..<HASH> 100644
--- a/src/SelfUpdateCommand.php
+++ b/src/SelfUpdateCommand.php
@@ -26,26 +26,6 @@ class SelfUpdateCommand extends Command
protected $applicationName;
- /**
- * @var bool
- */
- protected $isPreview = f... | Remove option properties
Pass option/arg properties as args
Move out "The latest release matches the current one" check off of getLatestReleaseFromGithub()
Restore _exit() | consolidation_self-update | train |
9f700be4ccbb041923d7093cf557ecb059261d86 | diff --git a/api/sys_rekey_ext_test.go b/api/sys_rekey_ext_test.go
index <HASH>..<HASH> 100644
--- a/api/sys_rekey_ext_test.go
+++ b/api/sys_rekey_ext_test.go
@@ -1,6 +1,7 @@
package api_test
import (
+ "strings"
"testing"
"github.com/hashicorp/vault/api"
@@ -17,20 +18,40 @@ func TestSysRekey_Verification(t *... | Add some more test structure and update test | hashicorp_vault | train |
e56e0bf915d75398b63ad527d6b0fb6160d63a64 | diff --git a/src/ConfigServiceProvider.php b/src/ConfigServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/ConfigServiceProvider.php
+++ b/src/ConfigServiceProvider.php
@@ -2,8 +2,8 @@
namespace Lokhman\Silex\Config;
-use Silex\ServiceProviderInterface;
-use Silex\Application;
+use Pimple\Container;
+use Pim... | Make compatible with Pimple <I> and Silex <I> | lokhman_silex-config | train |
e17e04cc18ce31dc31940d2a849249785a38d87a | diff --git a/src/urh/signalprocessing/ProtocolAnalyzer.py b/src/urh/signalprocessing/ProtocolAnalyzer.py
index <HASH>..<HASH> 100644
--- a/src/urh/signalprocessing/ProtocolAnalyzer.py
+++ b/src/urh/signalprocessing/ProtocolAnalyzer.py
@@ -874,7 +874,7 @@ class ProtocolAnalyzer(object):
# searching synchron... | use lists instead of sets as we update the end in place | jopohl_urh | train |
aa58118139ae6e2374becb1aef639be3aa247cda | diff --git a/loaders/Base.js b/loaders/Base.js
index <HASH>..<HASH> 100644
--- a/loaders/Base.js
+++ b/loaders/Base.js
@@ -73,17 +73,19 @@ Base.prototype = {
}
}),
error.passToFunction(cb, function (resolvedAssetConfigArrays) {
- var numAssets = ... | Fixed relation ordering bug in loaders/Base (ext-base.js was misplaced). | assetgraph_assetgraph | train |
b345347c4b0a3f446251a8eb9519b6d44bb84d1a | diff --git a/apiserver/facades/agent/logger/logger_test.go b/apiserver/facades/agent/logger/logger_test.go
index <HASH>..<HASH> 100644
--- a/apiserver/facades/agent/logger/logger_test.go
+++ b/apiserver/facades/agent/logger/logger_test.go
@@ -31,9 +31,7 @@ type loggerSuite struct {
resources *common.Resources
auth... | Internalises events notification channel in testing cache controller. | juju_juju | train |
8ee97ac2e5e78fa87d0b801ab110169803186412 | diff --git a/theme/mymobile/layout/general.php b/theme/mymobile/layout/general.php
index <HASH>..<HASH> 100644
--- a/theme/mymobile/layout/general.php
+++ b/theme/mymobile/layout/general.php
@@ -210,7 +210,7 @@ echo $OUTPUT->doctype() ?>
<div data-role="fieldcontain" id="sliderdiv">
... | MDL-<I> accessibility compliance for mymobile theme: Add forform input text and select tag | moodle_moodle | train |
50b1aa7631494cfb5f36a14ea621d6ad3c74fbc9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,6 +39,6 @@ setup(name = "bcbio-nextgen",
"amqplib >= 0.6.1",
"Logbook >= 0.3",
"Cython >= 0.14",
- "pysam >= 0.3.1",
+ #"pysam >= 0.3.1",
#"rpy2 >= 2.0.7"
... | Do not install pysam automatically as easy_install failing on some systems | bcbio_bcbio-nextgen | train |
7ad51ae816277c695e626963b200ea2a694970e3 | diff --git a/lib/fog/rackspace/models/servers/server.rb b/lib/fog/rackspace/models/servers/server.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/rackspace/models/servers/server.rb
+++ b/lib/fog/rackspace/models/servers/server.rb
@@ -51,10 +51,14 @@ module Fog
end
def save
- requires :flavor_i... | [rackspace] name is optional for servers | fog_fog | train |
3650502df8b6da838ec4b8bc57eb123e0711824a | diff --git a/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java b/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/asteriskjava/manager/internal/ManagerConnectionImpl.java
+++ b/src/main/java/org/asteriskjava/manager/i... | [AJ-<I>] Added support for OpenPBX identifier | asterisk-java_asterisk-java | train |
6c606245c4eacd507de779cb280b61c868886f17 | diff --git a/src/Translation/TranslationServiceProvider.php b/src/Translation/TranslationServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Translation/TranslationServiceProvider.php
+++ b/src/Translation/TranslationServiceProvider.php
@@ -28,10 +28,8 @@ class TranslationServiceProvider extends ServiceProvider
... | * Setting fallback to en
* Fixing change to themosis paths | djgadd_themosis-illuminate | train |
8b28588c0764ce1f7bac63d3ca7bcece3b24b81b | diff --git a/nianalysis/nodes.py b/nianalysis/nodes.py
index <HASH>..<HASH> 100644
--- a/nianalysis/nodes.py
+++ b/nianalysis/nodes.py
@@ -146,13 +146,13 @@ class NiAnalysisNodeMixin(object):
@classmethod
def _run_module_cmd(cls, *args):
if 'MODULESHOME' in os.environ:
- modulecmd = sp.che... | removed which modulecmd subprocess call | MonashBI_arcana | train |
866eb303b2160050402d89918ee6eee3e10344b0 | diff --git a/pycoin/ui/uiclass.py b/pycoin/ui/uiclass.py
index <HASH>..<HASH> 100644
--- a/pycoin/ui/uiclass.py
+++ b/pycoin/ui/uiclass.py
@@ -75,7 +75,7 @@ class UI(object):
d = self._puzzle_scripts.info_from_script_p2pkh_wit(script)
if d:
if self._bech32_hrp:
- return sel... | Fix python2 tests. | richardkiss_pycoin | train |
d2991f866d2b39ca560c520726445adf7db0f364 | diff --git a/queue/redismq.go b/queue/redismq.go
index <HASH>..<HASH> 100644
--- a/queue/redismq.go
+++ b/queue/redismq.go
@@ -55,40 +55,24 @@ func (r *redismqQ) key() string {
}
func (r *redismqQ) Get(timeout time.Duration) (*Message, error) {
- payloadChan := make(chan []byte)
- errChan := make(chan error)
- quit... | queue: refactor redis queue, use brpop instead of rpop in loop | tsuru_tsuru | train |
8c541d1c2b345d8acd0cb05b2f66828080c7b2cc | diff --git a/neo/Prompt/test_input_parser.py b/neo/Prompt/test_input_parser.py
index <HASH>..<HASH> 100644
--- a/neo/Prompt/test_input_parser.py
+++ b/neo/Prompt/test_input_parser.py
@@ -6,41 +6,41 @@ class TestInputParser(TestCase):
input_parser = InputParser()
def test_simple_whitespace_separation(self):
... | Conform to the double-quoted strings style | CityOfZion_neo-python | train |
9703fd8ff91c2ad22f53f6016c2711df8af6ca81 | diff --git a/application/Config/Autoload.php b/application/Config/Autoload.php
index <HASH>..<HASH> 100644
--- a/application/Config/Autoload.php
+++ b/application/Config/Autoload.php
@@ -51,8 +51,8 @@ class Autoload extends \CodeIgniter\Config\AutoloadConfig
*/
$psr4 = [
'Config' => APPPA... | [ci skip] Add new App namespace to PSR4 to keep utility classes, like Filters, working even with custom namespaces. Fixes #<I> | codeigniter4_CodeIgniter4 | train |
04b064e608c694e41a467b36f72e36ec60ef349c | diff --git a/chatterbot/input/hipchat.py b/chatterbot/input/hipchat.py
index <HASH>..<HASH> 100644
--- a/chatterbot/input/hipchat.py
+++ b/chatterbot/input/hipchat.py
@@ -18,6 +18,10 @@ class HipChat(InputAdapter):
self.hipchat_room = kwargs.get('hipchat_room')
self.session_id = str(self.chatbot.defau... | Allow specification of ssl verification for hipchat adapters. | gunthercox_ChatterBot | train |
60d8702c89b564d026d23fbde7e7e37fb397c25b | diff --git a/lib/superapi/api.js b/lib/superapi/api.js
index <HASH>..<HASH> 100644
--- a/lib/superapi/api.js
+++ b/lib/superapi/api.js
@@ -35,7 +35,7 @@ var serviceHandler = function(service) {
});
req.end(callback ? callback : function(res) {
- resolver[!res.error ? "resolve" : "reject"](req, res, opt... | fix(end.response): resolve response as first argument | stephanebachelier_superapi | train |
ec1a57f40f78ed5209cdcc7efbadc8d004716b2d | diff --git a/formats/pktline/decoder.go b/formats/pktline/decoder.go
index <HASH>..<HASH> 100644
--- a/formats/pktline/decoder.go
+++ b/formats/pktline/decoder.go
@@ -48,10 +48,12 @@ func (d *Decoder) readLine() (string, error) {
}
line := make([]byte, exp)
- if read, err := d.r.Read(line); err != nil {
+ if read... | formats/pktline: fixed underflow glitch reading network stream | src-d_go-git | train |
13ca0157abe7da443e6468231533879c683f2384 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(
'UW-RestClients-SWS>=1.0',
'UW-RestClients-PWS<1.0',
'mock',
- 'lxml',
+ 'lxml==3.7.3',
... | pinned version for lxml | uw-it-aca_uw-restclients-graderoster | train |
f5b0df846a93b9f5cfc07c03231e9026f6c8f116 | diff --git a/asyncirc/ircclient.py b/asyncirc/ircclient.py
index <HASH>..<HASH> 100644
--- a/asyncirc/ircclient.py
+++ b/asyncirc/ircclient.py
@@ -80,10 +80,10 @@ class IRCClient(object):
self._in_queue = queue.Queue()
self._out_queue = queue.Queue()
self._stop_event = threading.Event()
- ... | Changed the ssl socket setup, the way I was doing it before was dumb | kageurufu_AsyncIRC | train |
f0c70ee8edc51c89b2d489415c37a4d2e535b925 | diff --git a/drivers/amazonec2/amazonec2.go b/drivers/amazonec2/amazonec2.go
index <HASH>..<HASH> 100644
--- a/drivers/amazonec2/amazonec2.go
+++ b/drivers/amazonec2/amazonec2.go
@@ -29,7 +29,11 @@ const (
ipRange = "0.0.0.0/0"
dockerConfigDir = "/etc/docker"
machineSecurityGroupName = "... | ec2: do not try to auth swarm port if exists | docker_machine | train |
c9d3d066824e9ba2e53648d42270649da276e63c | diff --git a/spec/researches/getSentenceBeginningsSpec.js b/spec/researches/getSentenceBeginningsSpec.js
index <HASH>..<HASH> 100644
--- a/spec/researches/getSentenceBeginningsSpec.js
+++ b/spec/researches/getSentenceBeginningsSpec.js
@@ -239,7 +239,7 @@ describe( "gets the sentence beginnings and the count of consecut... | Minor docs and possible typo change | Yoast_YoastSEO.js | train |
729a6fc6bb1050480ff3853b0a3318160d219c7c | diff --git a/gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultJdbcComponent.java b/gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultJdbcComponent.java
index <HASH>..<HASH> 100644
--- a/gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultJdbcComponent.java
+... | last change to get the jdbc component building in java 7, i swear | apiman_apiman | train |
ebb3e02dcc9b68ff52fcee0a75ffe18754f870d7 | diff --git a/dependency-check-core/src/test/java/org/owasp/dependencycheck/analyzer/CPEAnalyzerTest.java b/dependency-check-core/src/test/java/org/owasp/dependencycheck/analyzer/CPEAnalyzerTest.java
index <HASH>..<HASH> 100644
--- a/dependency-check-core/src/test/java/org/owasp/dependencycheck/analyzer/CPEAnalyzerTest.... | removed unused methods
Former-commit-id: <I>e<I>ca6df3cd<I>cf<I>a<I>f0ccf<I>fa | jeremylong_DependencyCheck | train |
743c0374d1d2a09a70743bf2bea1147a386e1ed3 | diff --git a/src/com/xtremelabs/robolectric/shadows/ShadowHttpGet.java b/src/com/xtremelabs/robolectric/shadows/ShadowHttpGet.java
index <HASH>..<HASH> 100644
--- a/src/com/xtremelabs/robolectric/shadows/ShadowHttpGet.java
+++ b/src/com/xtremelabs/robolectric/shadows/ShadowHttpGet.java
@@ -16,6 +16,10 @@ public class S... | Added support for multiple requests in ShadowAbstractHttpClient.
Add shadows for HttpGet and HttpRequestBase | robolectric_robolectric | train |
ba551e6bcf168a61a7abb296c9d52c9f8f77dcf8 | diff --git a/retrofit/src/main/java/retrofit/RestAdapter.java b/retrofit/src/main/java/retrofit/RestAdapter.java
index <HASH>..<HASH> 100644
--- a/retrofit/src/main/java/retrofit/RestAdapter.java
+++ b/retrofit/src/main/java/retrofit/RestAdapter.java
@@ -16,6 +16,8 @@
package retrofit;
import java.io.IOException;
+... | Log network and unexpected exceptions if logging is enabled. | square_retrofit | train |
d5e1f61ea32305a0d80ab0cb54bcb124689ad95b | diff --git a/nMemcached.js b/nMemcached.js
index <HASH>..<HASH> 100644
--- a/nMemcached.js
+++ b/nMemcached.js
@@ -144,6 +144,8 @@ Client.config = {
callback.call( this, servers[i], map[ servers[i] ], i, servers.length );
};
+ // executes the command on the net.Stream, if no server is supplied it will use the ... | Added more comments to the code, for those who can't read source code and the API | 3rd-Eden_memcached | train |
359dbb8663b8faefd7230831df01903458de6dd8 | diff --git a/spark-http-client/src/test/java/spark/protocol/SparqlQuery.java b/spark-http-client/src/test/java/spark/protocol/SparqlQuery.java
index <HASH>..<HASH> 100644
--- a/spark-http-client/src/test/java/spark/protocol/SparqlQuery.java
+++ b/spark-http-client/src/test/java/spark/protocol/SparqlQuery.java
@@ -23,9 ... | Add test cases for ASK protocol queries | revelytix_spark | train |
1416ba581df638c5183e7379ce7eee17bd3609e1 | diff --git a/tests/Gelf/Test/Transport/StreamSocketClientUdpTest.php b/tests/Gelf/Test/Transport/StreamSocketClientUdpTest.php
index <HASH>..<HASH> 100644
--- a/tests/Gelf/Test/Transport/StreamSocketClientUdpTest.php
+++ b/tests/Gelf/Test/Transport/StreamSocketClientUdpTest.php
@@ -29,8 +29,9 @@ class StreamSocketClien... | Maybe the travis-ci problem is IPv6 related after all... II (rg. #3)
=> forgot one "localhost" | bzikarsky_gelf-php | train |
08e52e2b9cdcd7046d7f84bc1d3601707332a62f | diff --git a/lib/spine.js b/lib/spine.js
index <HASH>..<HASH> 100644
--- a/lib/spine.js
+++ b/lib/spine.js
@@ -395,20 +395,16 @@
return rec && rec.constructor === this.constructor && (rec.id === this.id || (_ref = this.id, __indexOf.call(rec.ids, _ref) >= 0) || (_ref2 = rec.id, __indexOf.call(this.ids, _ref2) >=... | create/save should return clones | spine_spine | train |
4ed86c21730a85dd64b86788785d322fb50618d5 | diff --git a/lib/instrumental/agent.rb b/lib/instrumental/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/instrumental/agent.rb
+++ b/lib/instrumental/agent.rb
@@ -469,16 +469,16 @@ module Instrumental
else
report_exception(err)
end
+ if command_and_args
+ logger.debug "reque... | fix a test for agent queue overflow situations. re-enqueue commands with failures slightly more aggressively. | Instrumental_instrumental_agent-ruby | train |
58524fa19264f33ac814aa2c557c9c69186ad5bc | diff --git a/test/test_library.py b/test/test_library.py
index <HASH>..<HASH> 100644
--- a/test/test_library.py
+++ b/test/test_library.py
@@ -82,5 +82,37 @@ class Test(unittest.TestCase):
self.assertEqual(len(released), 5)
self.assertEqual(returned, released)
+ def test_callback_cleanup(self):
+... | Test that callbacks are properly cleaned up | erijo_tellcore-py | train |
3ded7d2612915b4db352d5f50aa8ab59f55835d7 | diff --git a/junit/core/src/main/java/org/jboss/arquillian/junit/Arquillian.java b/junit/core/src/main/java/org/jboss/arquillian/junit/Arquillian.java
index <HASH>..<HASH> 100644
--- a/junit/core/src/main/java/org/jboss/arquillian/junit/Arquillian.java
+++ b/junit/core/src/main/java/org/jboss/arquillian/junit/Arquillia... | ARQ-<I> Move TestClass counter to run() to catch actual number
When counting runners started and stopped together with @Category
annotation of JUnit some runners was added but never finished. | arquillian_arquillian-core | train |
64be363d126e1a249e54a93cd47e475b6bb2e08b | diff --git a/object_goreflect.go b/object_goreflect.go
index <HASH>..<HASH> 100644
--- a/object_goreflect.go
+++ b/object_goreflect.go
@@ -425,34 +425,37 @@ func (r *Runtime) buildFieldInfo(t reflect.Type, index []int, info *reflectTypeI
}
if r.fieldNameMapper != nil {
name = r.fieldNameMapper.FieldName(t, fi... | Do not skip the entire anonymous field if its name is mapped to "". Fixes #<I> | dop251_goja | train |
71551c960c277fe978c2351461f289325fc2e008 | diff --git a/test/test_bounds.js b/test/test_bounds.js
index <HASH>..<HASH> 100644
--- a/test/test_bounds.js
+++ b/test/test_bounds.js
@@ -524,6 +524,46 @@ describe('BoundingBox', function() {
test
)
})
+
+ it ('2 + 9', function () {
+ var test = new BoundingBox(bounds2)
+ test.extend(... | Tests: more .extend() tests | plepe_boundingbox | train |
c9338f1faf2fcf452b7edcfd99f9c036ef62bfde | diff --git a/endpoints/aur/index.js b/endpoints/aur/index.js
index <HASH>..<HASH> 100644
--- a/endpoints/aur/index.js
+++ b/endpoints/aur/index.js
@@ -8,12 +8,6 @@ const cacheTime = 120
function queryGzipJson(url, callback) {
const headers = {
- accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,im... | fix headers issue
for some reason this wasn't failing for me when I originally wrote this a month ago | apis-is_apis | train |
0b496b13be665a0fd5e78732ee00df4ffc4cd753 | diff --git a/aeron-client/src/main/java/io/aeron/logbuffer/TermGapScanner.java b/aeron-client/src/main/java/io/aeron/logbuffer/TermGapScanner.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/logbuffer/TermGapScanner.java
+++ b/aeron-client/src/main/java/io/aeron/logbuffer/TermGapScanner.java
@... | [Java] Pull out ALIGNED_HEADER_LENGTH as a constant. | real-logic_aeron | train |
8006904064705a9bfcf8eda12fd2a4407bd0ae05 | diff --git a/src/main/java/com/tunyk/mvn/plugins/htmlcompressor/FileTool.java b/src/main/java/com/tunyk/mvn/plugins/htmlcompressor/FileTool.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/tunyk/mvn/plugins/htmlcompressor/FileTool.java
+++ b/src/main/java/com/tunyk/mvn/plugins/htmlcompressor/FileTool.java
@@ -5... | [fix] Remove unnecessary regex and fix so its using regular escape (ie \\ not \\\\) | alextunyk_htmlcompressor-maven-plugin | train |
105ed6d70cb04bba23a2287453706af7adcf7bb9 | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -29,6 +29,7 @@ class Mock(object):
MOCK_MODULES = [
# salt core
+ 'yaml',
'salt.msgpack._msgpack',
'zmq',
'Crypto', | Added pyyaml to the list of mocked imports for the docs | saltstack_salt | train |
ec64754e4d2296102b6fca23a75bf7ca0b889e69 | diff --git a/lib/rufus/scheduler/jobs.rb b/lib/rufus/scheduler/jobs.rb
index <HASH>..<HASH> 100644
--- a/lib/rufus/scheduler/jobs.rb
+++ b/lib/rufus/scheduler/jobs.rb
@@ -621,7 +621,7 @@ module Rufus
def next_time_from(time)
- if @first_at == nil || @first_at < time
+ if @first_at == nil || @fi... | Fixed Scheduler#timeline method getting stuck in a infinite loop when running with a cron job scheduled using a 'first_in:' parameter. | jmettraux_rufus-scheduler | train |
b9396925fd6d2c1024ec9c3905bca1fb5ae3276a | diff --git a/spec/fast_file_spec.rb b/spec/fast_file_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/fast_file_spec.rb
+++ b/spec/fast_file_spec.rb
@@ -249,6 +249,23 @@ describe Fastlane do
end.to raise_error("Syntax error in your Fastfile on line 17: spec/fixtures/fastfiles/FastfileSytnaxError:17: syntax error... | [FastFile] add spec for printing correct message about syntax error in Fastfile | fastlane_fastlane | train |
38cf0c11fae713df5e89d1f1eda5518b038dce2e | diff --git a/src/Env.php b/src/Env.php
index <HASH>..<HASH> 100644
--- a/src/Env.php
+++ b/src/Env.php
@@ -14,13 +14,17 @@ class Env
* is to check for that kind of string value and return the actual value
* that it refers to.
*
- * NOTE: If the specified environment variable is not set and no def... | Change docs/tests so whitespace is considered not found. | silinternational_php-env | train |
ba56e5800ef53693d326f48e82a67193e5fdbe11 | diff --git a/bundles/org.eclipse.orion.client.core/web/orion/siteMappingsTable.js b/bundles/org.eclipse.orion.client.core/web/orion/siteMappingsTable.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/siteMappingsTable.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/siteMappin... | Bug <I> - Allow adding a file to a site | eclipse_orion.client | train |
c39851b7a973368ab2e1502cc5ae85ed0f4d60d7 | diff --git a/service/helpers.js b/service/helpers.js
index <HASH>..<HASH> 100644
--- a/service/helpers.js
+++ b/service/helpers.js
@@ -1,5 +1,65 @@
/** Any Helper functions specific to the service reside here.
*/
+
+function ServiceMetrics() {
+
+ this.serviceStartTime = Date.now();
+
+ // Number of responses served... | Added response time average and uptime metrics (as well as the endpoint to inspect them) | Financial-Times_polyfill-service | train |
bdd9492da0c992e532c5e5d07cae3b68c9b7b78f | diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
index <HASH>..<HASH> 100755
--- a/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
+++ b/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
@@ -30,6 +30,7 @@ imp... | Track number of registered watchers in apiserver | kubernetes_kubernetes | train |
e5762c9c9fdd85578a493ac298cb09980c8d954a | diff --git a/transmogrify/settings.py b/transmogrify/settings.py
index <HASH>..<HASH> 100644
--- a/transmogrify/settings.py
+++ b/transmogrify/settings.py
@@ -55,8 +55,10 @@ else:
NO_IMAGE_URL = os.environ.get("TRANSMOGRIFY_NO_IMG_URL", "")
+ PATH_ALIASES = {}
+
PROCESSORS = {}
for attr in processors.__al... | Made it so that the settings work without Django | callowayproject_Transmogrify | train |
fc1d77af8463ca805bd15c18646e83af92fc90b6 | diff --git a/lib/mobility/plugins/backend.rb b/lib/mobility/plugins/backend.rb
index <HASH>..<HASH> 100644
--- a/lib/mobility/plugins/backend.rb
+++ b/lib/mobility/plugins/backend.rb
@@ -125,6 +125,14 @@ Defines:
return self[name.to_sym] if String === name
self[name] = @model.class.mobility_backen... | Don't dump cached backends
These break Marshal serialization. We can just not dump them (and
regenerate them when loading back) to avoid the problem. | shioyama_mobility | train |
cb91db4a5c88acdf175b31ec877b13b22518674a | diff --git a/elasticsearch-client/test/integration/client_test.rb b/elasticsearch-client/test/integration/client_test.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-client/test/integration/client_test.rb
+++ b/elasticsearch-client/test/integration/client_test.rb
@@ -33,9 +33,13 @@ class Elasticsearch::Client::Clien... | [CLIENT] Fixed the client integration test (handling <I>) when getting a document | elastic_elasticsearch-ruby | train |
2f7c4a16fd4cc792d60ae32398d04538230ed325 | diff --git a/cms7/error.py b/cms7/error.py
index <HASH>..<HASH> 100644
--- a/cms7/error.py
+++ b/cms7/error.py
@@ -16,8 +16,11 @@ def report_error(exc):
tb = exc.__traceback__
while tb.tb_next:
tb = tb.tb_next
- filename = exc.filename
- lineno = tb.tb_lineno
+ filename = exc.filename or tb.... | Report filename:0 for Markdown sources with errors | freenode_cms7 | train |
ec5d17a47b13b2b8d2a56103b339b03f521459db | diff --git a/src/main/java/com/orientechnologies/orient/etl/transformer/OAbstractTransformer.java b/src/main/java/com/orientechnologies/orient/etl/transformer/OAbstractTransformer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/orientechnologies/orient/etl/transformer/OAbstractTransformer.java
+++ b/src/main/j... | Supported logging of transformer's input and output | orientechnologies_orientdb-etl | train |
00d6a2b7581d7c395f75ced8ed808e3c8d2b8bbe | diff --git a/lib/oauthio/providers/oauthio.rb b/lib/oauthio/providers/oauthio.rb
index <HASH>..<HASH> 100644
--- a/lib/oauthio/providers/oauthio.rb
+++ b/lib/oauthio/providers/oauthio.rb
@@ -21,11 +21,16 @@ module Oauthio
# Map OAuth.io info to standard OmniAuth keys, e.g., OAuth.io's alias
# becomes ... | Don't include all of raw_info in info | jgrowl_omniauth-oauthio | train |
9939e09ac057690459778de4d4a77fb0ac822860 | diff --git a/lib/director/router.js b/lib/director/router.js
index <HASH>..<HASH> 100644
--- a/lib/director/router.js
+++ b/lib/director/router.js
@@ -203,7 +203,7 @@ Router.prototype.on = Router.prototype.route = function (method, path, route) {
if (Array.isArray(method)) {
return method.forEach(function (... | [dist] Various small bug fixes. Lowercase on Arrays passed to .on; Correctly pass `thisArg` to callback; Add `before`, `after`, and `on` from the root scope to runlists | flatiron_director | train |
825dae1f0b32bac0e5afde61578534d1a3df8b7b | diff --git a/activeresource/lib/active_resource/observing.rb b/activeresource/lib/active_resource/observing.rb
index <HASH>..<HASH> 100644
--- a/activeresource/lib/active_resource/observing.rb
+++ b/activeresource/lib/active_resource/observing.rb
@@ -5,6 +5,14 @@ module ActiveResource
included do
%w( crea... | Documented ActiveResource#observing | rails_rails | train |
25c55fe563b7cd487406167a768f19fc1e14afa5 | diff --git a/enrol/ajax.php b/enrol/ajax.php
index <HASH>..<HASH> 100644
--- a/enrol/ajax.php
+++ b/enrol/ajax.php
@@ -195,6 +195,5 @@ switch ($action) {
throw new enrol_ajax_exception('unknowajaxaction');
}
-header('Content-type: application/json');
echo json_encode($outcome);
die(); | enrol-ajax MDL-<I> Removed unneeded header call | moodle_moodle | train |
6489ee522aa28e73e86541515f5ce2b1b70f5ac7 | diff --git a/activesupport/lib/active_support/duration/iso8601_serializer.rb b/activesupport/lib/active_support/duration/iso8601_serializer.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/duration/iso8601_serializer.rb
+++ b/activesupport/lib/active_support/duration/iso8601_serializer.rb
@@ -27,7 ... | Always use %f formatter for ISO<I> durations since they can't be in scientific notation
Manually formats the seconds. This avoids using the %g formatter which can convert large numbers or very small fractions into scientific notation which is not supported by iso<I> | rails_rails | train |
19e35d3e77e9761d484043f0197b7c5947752f74 | diff --git a/km3pipe/tests/test_tools.py b/km3pipe/tests/test_tools.py
index <HASH>..<HASH> 100644
--- a/km3pipe/tests/test_tools.py
+++ b/km3pipe/tests/test_tools.py
@@ -5,10 +5,13 @@ from __future__ import division, absolute_import, print_function
import numpy as np
import itertools
+from datetime import datetime... | Implements Cuckoo, a timed callback manager | tamasgal_km3pipe | train |
ce1f135ed91e748057789c61e532d155209513be | diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py
index <HASH>..<HASH> 100644
--- a/raiden/network/rpc/client.py
+++ b/raiden/network/rpc/client.py
@@ -283,10 +283,12 @@ class JSONRPCClient:
return quantity_decoder(res)
@cache_response_timewise()
- def gaslimit(self) -> int:
- ... | Gas limit can fluctuate for up to 1/<I> of last value | raiden-network_raiden | train |
58fb78cf3dc8c2c3a61155a103025456751c7bd4 | diff --git a/src/guard.js b/src/guard.js
index <HASH>..<HASH> 100644
--- a/src/guard.js
+++ b/src/guard.js
@@ -13,7 +13,7 @@ function reportError() {
console.log(chalk.bgRed(ERROR_MESSAGE));
}
-(function guard(processEnv) {
+module.exports = function(processEnv) {
const npmArgs = getNpmArgs(processEnv);
... | refactor(publish): move guard function to a module | inikulin_publish-please | train |
e436fc813c5e76901b4aaefd4c93d163da6c082c | diff --git a/test_duct.py b/test_duct.py
index <HASH>..<HASH> 100644
--- a/test_duct.py
+++ b/test_duct.py
@@ -128,6 +128,28 @@ def test_unchecked():
assert output == "hi"
+def test_unchecked_with_pipe():
+ zero = exit_cmd(0)
+ one = exit_cmd(1)
+ two = exit_cmd(2)
+
+ # Right takes precedence over... | test unchecked logic in pipes | oconnor663_duct.py | train |
e97e876323a1d80ef6668ff13b2ec9142b6eaad9 | diff --git a/proso_flashcards/models.py b/proso_flashcards/models.py
index <HASH>..<HASH> 100644
--- a/proso_flashcards/models.py
+++ b/proso_flashcards/models.py
@@ -455,6 +455,30 @@ PROSO_MODELS_TO_EXPORT = [Category, Flashcard, FlashcardAnswer,
settings.PROSO_FLASHCARDS.get("context_extens... | custom export for flashcards
issues: #<I> | adaptive-learning_proso-apps | train |
37aa1b6439ce588d6a82afe32938c883b64a2936 | diff --git a/src/naarad/metrics/metric.py b/src/naarad/metrics/metric.py
index <HASH>..<HASH> 100644
--- a/src/naarad/metrics/metric.py
+++ b/src/naarad/metrics/metric.py
@@ -284,6 +284,15 @@ class Metric(object):
if graphed:
self.plot_files.append(div_file)
return True
+
+ def check_important_s... | Fix issue <I>: cdf not plotted for sar important metrics | linkedin_naarad | train |
432252b2c1bf63d70f2706e069c933dedc41613c | diff --git a/storage/src/main/java/net/kuujo/copycat/io/storage/OffsetIndex.java b/storage/src/main/java/net/kuujo/copycat/io/storage/OffsetIndex.java
index <HASH>..<HASH> 100644
--- a/storage/src/main/java/net/kuujo/copycat/io/storage/OffsetIndex.java
+++ b/storage/src/main/java/net/kuujo/copycat/io/storage/OffsetInde... | Support truncating offset index with missing entries. | atomix_atomix | train |
64e3c958953837c23cf07cad8ac9099ac34462cb | diff --git a/src/tween/TweenManager.js b/src/tween/TweenManager.js
index <HASH>..<HASH> 100644
--- a/src/tween/TweenManager.js
+++ b/src/tween/TweenManager.js
@@ -13,6 +13,7 @@ class TweenManager {
}
add(tween) {
+ if(tween._index !== -1) { return }
tween._index = this.tweens.length
this.tweens.push(tween)... | Fix TweenManager adding multiple times | tenjou_meta2d | train |
e26bf6951dd61cd0c13f1ce380093f06f9695d83 | diff --git a/symfit/core/operators.py b/symfit/core/operators.py
index <HASH>..<HASH> 100644
--- a/symfit/core/operators.py
+++ b/symfit/core/operators.py
@@ -58,9 +58,12 @@ def call(self, **kwargs):
:return:
"""
# Convert to a pythonic function
- vars, pars = seperate_symbols(self)
- func = sympy_... | Submodels can now be evaluated easely. Fixed #<I>. | tBuLi_symfit | train |
4702eb3bb05ae076870e824ad06467e3a2ac02b7 | diff --git a/src/services/GasEstimatorService.js b/src/services/GasEstimatorService.js
index <HASH>..<HASH> 100644
--- a/src/services/GasEstimatorService.js
+++ b/src/services/GasEstimatorService.js
@@ -11,19 +11,17 @@ export default class GasEstimatorService extends PublicService {
this._absolute = null;
}
-... | GasEstimator pass all tests with the test blockchain (although waiting on SmartContractService before implementing the less than block gas limit test | makerdao_dai.js | train |
c1d0d73718b4c220eff59751f190a2a3df5b69d1 | diff --git a/lib/questionlib.php b/lib/questionlib.php
index <HASH>..<HASH> 100644
--- a/lib/questionlib.php
+++ b/lib/questionlib.php
@@ -321,9 +321,6 @@ function question_delete_question($questionid) {
return;
}
- // Check permissions.
- question_require_capability_on($question, 'edit');
-
... | MDL-<I> questions: question_delete_question should not check perms
By Moodle convention, library functions should not implement permission
checks, they are to be handled by the invoking code. | moodle_moodle | train |
6ff9c1ae7d8dbd422beaf5c2d8044e521329f5f7 | diff --git a/writer.js b/writer.js
index <HASH>..<HASH> 100644
--- a/writer.js
+++ b/writer.js
@@ -13,6 +13,7 @@ var Definition = require("./definition.js");
var profiler = require('./profiler.js');
var count_writes = 0;
+var count_units_in_prev_analyze = 0;
function saveJoint(objJoint, objValidationState, preCo... | re-analyze only after each doubling | byteball_ocore | train |
620c60d68563f6682c908cecec0a4867ffaf4c01 | diff --git a/lib/reek/smells/control_couple.rb b/lib/reek/smells/control_couple.rb
index <HASH>..<HASH> 100644
--- a/lib/reek/smells/control_couple.rb
+++ b/lib/reek/smells/control_couple.rb
@@ -44,7 +44,8 @@ module Reek
#
def examine_context(ctx)
return unless ctx.tests_a_parameter?
- fou... | Added params to the YAML for 2 more smells | troessner_reek | train |
98489b9f528a11201189854952b5aca466d3da5b | diff --git a/anndata/tests/test_concatenate.py b/anndata/tests/test_concatenate.py
index <HASH>..<HASH> 100644
--- a/anndata/tests/test_concatenate.py
+++ b/anndata/tests/test_concatenate.py
@@ -12,7 +12,20 @@ from boltons.iterutils import research, remap, default_exit
from anndata import AnnData, Raw
from anndata.... | Add tests for concatenating layers | theislab_anndata | train |
357a9ca99ad9a42a4ef736dc9355b57402e8ea2f | diff --git a/system/core/models/Image.php b/system/core/models/Image.php
index <HASH>..<HASH> 100644
--- a/system/core/models/Image.php
+++ b/system/core/models/Image.php
@@ -446,4 +446,13 @@ class Image
return $this->url->get($url, $query, false, true);
}
+ /**
+ * Returns image cache expiration... | Add Image::getCacheLifetime() | gplcart_gplcart | train |
86135b03047606f2ddcc7831e7a655105e1a344c | diff --git a/vc_zoom/indico_vc_zoom/plugin.py b/vc_zoom/indico_vc_zoom/plugin.py
index <HASH>..<HASH> 100644
--- a/vc_zoom/indico_vc_zoom/plugin.py
+++ b/vc_zoom/indico_vc_zoom/plugin.py
@@ -440,6 +440,9 @@ class ZoomPlugin(VCPluginMixin, IndicoPlugin):
# if there's a 404, there is no problem, since the ro... | VC/Zoom: Show detailed error when deleting meeting | indico_indico-plugins | train |
1e147d4cdecf70bf1236b8a67c0ff28e1fcd0f46 | diff --git a/testsuite.py b/testsuite.py
index <HASH>..<HASH> 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -1203,8 +1203,6 @@ g
verify_value("INACTIVE_RANGE", "2")
verify_value("ACTIVE_RANGE", "1")
- c.enable_warnings()
-
print("Testing defconfig_filename") | testsuite.py: Remove redundant enable_warnings() call
The Kconfig object is replaced immediately after it. | ulfalizer_Kconfiglib | train |
fd05301184f110e978916211eb0f68ba21ffbd2c | diff --git a/lib/container.js b/lib/container.js
index <HASH>..<HASH> 100644
--- a/lib/container.js
+++ b/lib/container.js
@@ -103,9 +103,15 @@ function createHelpers(config) {
let helperModule;
for (const helperName in config) {
try {
- const moduleName = config[helperName].require
- ? path.reso... | add ability to require helpers from node_modules (#<I>)
* add ability to require helpers from node_modules
* fix linter | Codeception_CodeceptJS | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.