hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
66ddb0cf53335cf42d30c4453283e9bd07cbb5ab | diff --git a/lib/gym/build_command_generator.rb b/lib/gym/build_command_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/gym/build_command_generator.rb
+++ b/lib/gym/build_command_generator.rb
@@ -39,6 +39,7 @@ module Gym
options << "-configuration '#{config[:configuration]}'" # We need `Release` to export t... | Added new xcconfig option | fastlane_fastlane | train |
52626bb9199ca3562fa70f14d8fc7b8c12c8b0f5 | diff --git a/builder/dockerfile/builder.go b/builder/dockerfile/builder.go
index <HASH>..<HASH> 100644
--- a/builder/dockerfile/builder.go
+++ b/builder/dockerfile/builder.go
@@ -196,28 +196,28 @@ func (b *Builder) build(stdout io.Writer, stderr io.Writer, out io.Writer) (stri
return "", err
}
- shortImageID, er... | Reduce the number of calls to b.image
In preparation for removing it from builder. | moby_moby | train |
7dc81956efddbc8b9897fe03b6ebc51fc2194609 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,25 +10,24 @@ with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = ['pyserial']
+__version__ = '0.1.0'
setup(
name='pyusbiss',
- version='0.1.0',
+ version=__version__... | Changed setup.py's version and package name | DancingQuanta_pyusbiss | train |
0260b579af168dc015e613d0831be2a0b4fd3119 | diff --git a/src/actions/query.js b/src/actions/query.js
index <HASH>..<HASH> 100644
--- a/src/actions/query.js
+++ b/src/actions/query.js
@@ -17,7 +17,6 @@ import {
updateQueryOptions,
setPopularSuggestions,
setDefaultPopularSuggestions,
- setLastUsedAppbaseQuery,
} from './misc';
import { buildQuery, compareQ... | enhance last used query storage logic for reactive_list | appbaseio_reactivecore | train |
0cd7f40b3caaf89318ea730438f7ac73332aaee8 | diff --git a/scvelo/plotting/heatmap.py b/scvelo/plotting/heatmap.py
index <HASH>..<HASH> 100644
--- a/scvelo/plotting/heatmap.py
+++ b/scvelo/plotting/heatmap.py
@@ -65,7 +65,9 @@ def heatmap(adata, var_names, tkey='pseudotime', xkey='Ms', color_map='viridis',
if n_convolve is not None:
weights = np.ones... | mino bugfix for expression convolving in heatmap | theislab_scvelo | train |
a2f68b8e8d585bff1239a41446d4a7aa0ec3e0ec | diff --git a/master/buildbot/test/unit/test_steps_cmake.py b/master/buildbot/test/unit/test_steps_cmake.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_steps_cmake.py
+++ b/master/buildbot/test/unit/test_steps_cmake.py
@@ -43,10 +43,12 @@ class TestCMake(BuildStepMixin, TestCase):
return se... | Use assertRaises as context manager in test_steps_make | buildbot_buildbot | train |
6c48075e371dec090cbd6f6d09ec9efd03522052 | diff --git a/satpy/scene.py b/satpy/scene.py
index <HASH>..<HASH> 100644
--- a/satpy/scene.py
+++ b/satpy/scene.py
@@ -883,8 +883,7 @@ class Scene(MetadataObject):
"""Compute all the composites contained in `requirements`."""
if nodes is None:
required_nodes = self.wishlist - set(self.dat... | implement first working prototype of set_orientation method | pytroll_satpy | train |
5f72c75ac76ef061959b8764bdef544fce661f65 | diff --git a/lib/rest-graph/rails_util.rb b/lib/rest-graph/rails_util.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-graph/rails_util.rb
+++ b/lib/rest-graph/rails_util.rb
@@ -27,53 +27,23 @@ module RestGraph::RailsUtil
rest_graph_options .merge!(rest_graph_extract_options(options, :reject))
rest_graph_opti... | rails_util.rb: cleanup codes, extract auth checking methods | godfat_rest-core | train |
0b0f90f2d21f202525931ff93e48af94bb3049bf | diff --git a/alerta/management/views.py b/alerta/management/views.py
index <HASH>..<HASH> 100644
--- a/alerta/management/views.py
+++ b/alerta/management/views.py
@@ -145,8 +145,8 @@ def health_check():
@cross_origin()
@permission(Scope.admin_management)
def housekeeping():
- expired_threshold = request.args.get(... | Fix cast to int for hk params (#<I>) | alerta_alerta | train |
c8892cb27c3833e0fcf9e85422bfd74cf45fb338 | diff --git a/manager/controlapi/service.go b/manager/controlapi/service.go
index <HASH>..<HASH> 100644
--- a/manager/controlapi/service.go
+++ b/manager/controlapi/service.go
@@ -7,6 +7,7 @@ import (
"github.com/docker/engine-api/types/reference"
"github.com/docker/swarmkit/api"
"github.com/docker/swarmkit/identi... | Reject malformed constraints at controlapi | docker_swarmkit | train |
877e667eba1d29c9281bcfd609eab891e7bb791a | diff --git a/src/Venta/tests/ConsoleKernelTest.php b/src/Venta/tests/ConsoleKernelTest.php
index <HASH>..<HASH> 100644
--- a/src/Venta/tests/ConsoleKernelTest.php
+++ b/src/Venta/tests/ConsoleKernelTest.php
@@ -46,4 +46,41 @@ class ConsoleKernelTest extends PHPUnit_Framework_TestCase
$kernel->terminate();
... | <I>% code coverage for Http and Console kernel. | venta_framework | train |
bebdc85ef5d2f9545f0faeaa7c5b367a96718b4d | diff --git a/views/js/test/ui/modal/test.js b/views/js/test/ui/modal/test.js
index <HASH>..<HASH> 100644
--- a/views/js/test/ui/modal/test.js
+++ b/views/js/test/ui/modal/test.js
@@ -195,7 +195,6 @@ define([
QUnit.start();
});
- // QUnit.stop(4);
$modal.modal();
});
});
dif... | Fixed parseInt (added second parameter) | oat-sa_tao-core | train |
b3f649ae129dc31bfed130dd3fedce57c2f2e9cf | diff --git a/tests/unit/test_cpc.py b/tests/unit/test_cpc.py
index <HASH>..<HASH> 100755
--- a/tests/unit/test_cpc.py
+++ b/tests/unit/test_cpc.py
@@ -124,8 +124,8 @@ class CpcTests(unittest.TestCase):
}
m.get('/api/cpcs/fake-cpc-id-1/partitions', json=mock_result_cpc1p)
mock_resu... | Fixed HTTPError in dpm_enabled.
Details:
- In the optimized implementation of dpm_enabled, the http_status and reason
properties of HTTPError were incorrectly tested against strings. Fixed
that by testing against integers.
- The mocked HMC responses defined in the unit tests had the same problem
and returned str... | zhmcclient_python-zhmcclient | train |
323575fb9bb330a852718d89e323f7ec79549100 | diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index <HASH>..<HASH> 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -2085,14 +2085,19 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
};
} );
- testIframe(
- "#14379 - jQuery.ajax() on unload",
- "ajax/onunload.ht... | Tests: Don't test synchronous XHR on unload in Chrome
Chrome <I> dropped support for synchronous XHR requests inside of
beforeunload, unload, pagehide, and visibilitychange event handlers.
See <URL> | jquery_jquery | train |
801536e9290740d039e6b7ec7185fd2eb33f49e6 | diff --git a/pyes/es.py b/pyes/es.py
index <HASH>..<HASH> 100644
--- a/pyes/es.py
+++ b/pyes/es.py
@@ -1673,7 +1673,7 @@ class EmptyResultSet(object):
class ResultSetMulti(object):
def __init__(self, connection, searches, indices_list=None,
- doc_types_list=None, routing_list=None, models=None):... | Adapted ResultSetMulti | aparo_pyes | train |
4008521ff23aefeddf6e020a3ea57484356ed194 | diff --git a/lib/vra/resource.rb b/lib/vra/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/vra/resource.rb
+++ b/lib/vra/resource.rb
@@ -50,7 +50,7 @@ module Vra
def self.by_name(client, name)
raise ArgumentError.new("name cannot be nil") if name.nil?
raise ArgumentError.new("client cannot be nil")... | Fixes a bug with Resource.by_name
* previously when Resources.all was called through by_name the call did not pass the
required arguments. This was due to a unit testing error where the
complete call was mocked which would have caught this issue. | chef-partners_vmware-vra-gem | train |
8558f46d35cedc3ea31787aebf8d9cb07a3fc547 | diff --git a/src/python/grpcio/grpc/aio/_channel.py b/src/python/grpcio/grpc/aio/_channel.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio/grpc/aio/_channel.py
+++ b/src/python/grpcio/grpc/aio/_channel.py
@@ -80,6 +80,7 @@ class _BaseMultiCallable:
_request_serializer: SerializingFunction
_response_dese... | [Aio] Ensure Core channel closes when deallocated (#<I>)
* [Aio] Ensure Core channel closes when deallocated
* Keep channel object alive
* Let Multicallable objects hold the reference to Channel
* Make YAPF happy | grpc_grpc | train |
77caf23848f187732632dbabb781c34b18670282 | diff --git a/jmh/src/main/java/org/roaringbitmap/needwork/RandomAccess.java b/jmh/src/main/java/org/roaringbitmap/needwork/RandomAccess.java
index <HASH>..<HASH> 100644
--- a/jmh/src/main/java/org/roaringbitmap/needwork/RandomAccess.java
+++ b/jmh/src/main/java/org/roaringbitmap/needwork/RandomAccess.java
@@ -51,7 +51,... | Selectively turning on hybrid binary search only outside the buffer package. | RoaringBitmap_RoaringBitmap | train |
a7c6798f831dbd3891b05df18378ed29d5eb313d | diff --git a/test/scope.spec.js b/test/scope.spec.js
index <HASH>..<HASH> 100644
--- a/test/scope.spec.js
+++ b/test/scope.spec.js
@@ -94,3 +94,26 @@ describe('scope / globals', () => {
expect(scope.getGlobal().spiedGlobal).toBe(global);
});
});
+
+describe('closure', () => {
+ const { introscope } = ... | more test for scope getters and setters | zalando-incubator_introscope | train |
0a093ce91a0b84b86a3295fbfe61d2ec8ab83ddb | diff --git a/gobblin-data-management/src/main/java/gobblin/data/management/copy/replication/ConfigBasedDataset.java b/gobblin-data-management/src/main/java/gobblin/data/management/copy/replication/ConfigBasedDataset.java
index <HASH>..<HASH> 100644
--- a/gobblin-data-management/src/main/java/gobblin/data/management/cop... | Make Watermark checking configurable in distcpNG-replication (#<I>) | apache_incubator-gobblin | train |
c8593c4d61b169d5a3942fb5fe5904466f82a3b1 | diff --git a/notify_socket.go b/notify_socket.go
index <HASH>..<HASH> 100644
--- a/notify_socket.go
+++ b/notify_socket.go
@@ -3,6 +3,7 @@
package main
import (
+ "bytes"
"fmt"
"net"
"path/filepath"
@@ -75,7 +76,25 @@ func (notifySocket *notifySocket) run() {
if err != nil {
break
}
+ var out bytes... | sanitize systemd-notify message
Accept only READY= notify messages from the container. | opencontainers_runc | train |
371273bb5a721f97898eccba17d6938fa6bc4fa0 | diff --git a/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/main/annotation/PopulationFrequenciesAnnotator.java b/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/main/annotation/PopulationFrequenciesAnnotator.java
index <HASH>..<HASH> 100644
--- a/cellbase-app/src/main/java/org/opencb/cellbase/app/cli/ma... | app: update code according to java-common-libs updates | opencb_cellbase | train |
504585ffbaeaab099cc71e1c5d1612a1766ae6f6 | diff --git a/bootstrap/module.php b/bootstrap/module.php
index <HASH>..<HASH> 100644
--- a/bootstrap/module.php
+++ b/bootstrap/module.php
@@ -6,11 +6,4 @@ return function () {
// Bind route models and constrains
Route::pattern('tenant', '[a-zA-Z0-9-_]+');
Route::model('tenant', config('rinvex.tenants.mo... | Move tenant retrieval and registration to rinvex/laravel-tenants responsibility | rinvex_cortex-tenants | train |
ad0b0ce0790e1ad73a4d846b3c437563455c203a | diff --git a/src/NumericalAnalysis/NumericalIntegration/RectangleMethod.php b/src/NumericalAnalysis/NumericalIntegration/RectangleMethod.php
index <HASH>..<HASH> 100644
--- a/src/NumericalAnalysis/NumericalIntegration/RectangleMethod.php
+++ b/src/NumericalAnalysis/NumericalIntegration/RectangleMethod.php
@@ -2,6 +2,8 ... | Refactored to use interpolating polynomial and polynomial integration | markrogoyski_math-php | train |
3b4ae0dced8a6dbf585b564ea8d416c3fec1c791 | diff --git a/tasks/less.js b/tasks/less.js
index <HASH>..<HASH> 100644
--- a/tasks/less.js
+++ b/tasks/less.js
@@ -58,15 +58,13 @@ module.exports = function(grunt) {
}
var compiledMax = [], compiledMin = [];
- var index = 0;
+ var i = 0;
async.concatSeries(files, function(file, next) ... | Update index variable and add missing semicolon | gruntjs_grunt-contrib-less | train |
746a0e7a6ebca3a083f384497c85008b5e20ab68 | diff --git a/views/js/controller/creator/views/actions.js b/views/js/controller/creator/views/actions.js
index <HASH>..<HASH> 100755
--- a/views/js/controller/creator/views/actions.js
+++ b/views/js/controller/creator/views/actions.js
@@ -190,10 +190,8 @@ define([
*/
function disable($container, actionContai... | fix: case with only one section present disable & refactor | oat-sa_extension-tao-testqti | train |
f99d2f4e61ec806e907f98f0cfa1cb6f2facf8fc | diff --git a/src/SideNav.js b/src/SideNav.js
index <HASH>..<HASH> 100644
--- a/src/SideNav.js
+++ b/src/SideNav.js
@@ -15,17 +15,17 @@ class SideNav extends Component {
}
render() {
- const { className, children, fixed, ...props } = this.props;
+ const { className, children, ...props } = this.props;
... | Removed showOnLarge Prop and added logic to renderTrigger | react-materialize_react-materialize | train |
9c9f1c581598a34265f13bb33d4803e88a397cd4 | diff --git a/internal/static/config.go b/internal/static/config.go
index <HASH>..<HASH> 100644
--- a/internal/static/config.go
+++ b/internal/static/config.go
@@ -16,6 +16,10 @@ before:
builds:
- env:
- CGO_ENABLED=0
+ goos:
+ - linux
+ - windows
+ - darwin
archives:
- replacements:
darwin: Darw... | fix: init should have windows too
otherwise it doesnt match what our quick start guide says | goreleaser_goreleaser | train |
0c4b9bc76feb51d8431d734dc70a36b449ea766a | diff --git a/packages/ignite/src/cli/cli.js b/packages/ignite/src/cli/cli.js
index <HASH>..<HASH> 100644
--- a/packages/ignite/src/cli/cli.js
+++ b/packages/ignite/src/cli/cli.js
@@ -25,9 +25,10 @@ module.exports = async function run (argv) {
// parse the commandLine line
const commandLine = minimist(argv.slice(2... | Cleans up the logic for showing --version. | infinitered_ignite | train |
050c78c41d218f950449343a673fad16f9a28aa0 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -2248,7 +2248,7 @@ function print_header_simple($title='', $heading='', $navigation='', $focus='',
$shortname = '<a href="'.$CFG->wwwroot.'/course/view.php?id='. $COURSE->id .'">'. $COURSE->sh... | Missed some $COURSE conversion | moodle_moodle | train |
68bb468fadb73aa68d9ec1a0338ffdec16940e39 | diff --git a/src/Console/Portal.php b/src/Console/Portal.php
index <HASH>..<HASH> 100644
--- a/src/Console/Portal.php
+++ b/src/Console/Portal.php
@@ -40,6 +40,7 @@ class Portal extends Command
$this->setHelp('LaravelS console tool');
$this->addArgument('action', InputArgument::OPTIONAL, 'start|stop... | support --env to choose enviroment file | hhxsv5_laravel-s | train |
40b733eb8960e2b8f1f072b6a69369124f241bda | diff --git a/timeside/server/models.py b/timeside/server/models.py
index <HASH>..<HASH> 100644
--- a/timeside/server/models.py
+++ b/timeside/server/models.py
@@ -29,7 +29,7 @@ import uuid
import mimetypes
import timeside.core
-from timeside.plugins.decoder.utils import sha1sum_file
+from timeside.plugins.decoder.u... | Timeside.server: Add pipe support for URL-based Items + fix mime_type and sha1 setting from Admin | Parisson_TimeSide | train |
4d282cbe0d1b82060bd96947ccce32016d2f60ed | diff --git a/config/src/main/java/org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.java b/config/src/main/java/org/springframework/security/config/annotation/method/configuration/GlobalMethodSecurityConfiguration.java
index <HASH>..<HASH> 100644
--- a/config/src/main... | SEC-<I>: Polish | spring-projects_spring-security | train |
3fca28887359eaf2034eec0df36666bb85758ee7 | diff --git a/forms/TextareaField.php b/forms/TextareaField.php
index <HASH>..<HASH> 100644
--- a/forms/TextareaField.php
+++ b/forms/TextareaField.php
@@ -11,8 +11,6 @@
* new TextareaField(
* $name = "description",
* $title = "Description",
- * $rows = 8,
- * $cols = 3,
* $value = "This is the de... | Update forms/TextareaField.php
small edit to description of the field (usage). Removed reference to cols and rows parameters. | silverstripe_silverstripe-framework | train |
d9924067936108e899362617c7ff3ef7e946e2b9 | diff --git a/src/main/java/au/com/southsky/jfreesane/OptionGroup.java b/src/main/java/au/com/southsky/jfreesane/OptionGroup.java
index <HASH>..<HASH> 100644
--- a/src/main/java/au/com/southsky/jfreesane/OptionGroup.java
+++ b/src/main/java/au/com/southsky/jfreesane/OptionGroup.java
@@ -2,7 +2,6 @@ package au.com.souths... | remove dependence on guava from OptionGroup.toString | sjamesr_jfreesane | train |
0894ac7a31b09fda3c34777382f0b796ea8bfebb | 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
@@ -62,20 +62,30 @@ module Instrumental
#
# agent.gauge('load', 1.23)
def gauge(metric, value, time = Time.now)
- if valid?(metric, value, t... | change where exception is caught, also ensure that send_command's return value informs what happened to message | Instrumental_instrumental_agent-ruby | train |
a8b74a21480522062fff17443c6cb2014755ae3b | diff --git a/src/guacamole_cli/__init__.py b/src/guacamole_cli/__init__.py
index <HASH>..<HASH> 100644
--- a/src/guacamole_cli/__init__.py
+++ b/src/guacamole_cli/__init__.py
@@ -16,7 +16,10 @@ CONFIG_FILE = os.path.join(os.path.expanduser('~'), '.guacamole.conf')
def get_settings(config_file):
"""Search and load... | Set default endpoint and shortener services | Antojitos_guacamole-cli | train |
c17053ceed1446d8a8afe7553717f63cb1bc03cf | diff --git a/src/Gica/Cqrs/Event/EventDispatcher/EventDispatcherBySubscriber.php b/src/Gica/Cqrs/Event/EventDispatcher/EventDispatcherBySubscriber.php
index <HASH>..<HASH> 100644
--- a/src/Gica/Cqrs/Event/EventDispatcher/EventDispatcherBySubscriber.php
+++ b/src/Gica/Cqrs/Event/EventDispatcher/EventDispatcherBySubscrib... | wrapped event dispatching in try/catch for \Gica\Cqrs\Event\EventDispatcher\EventDispatcherBySubscriber | xprt64_dudulina | train |
9bd97f0c27518d14247e9fbfb95677e8a2f50424 | diff --git a/proxy/src/main/java/org/jboss/forge/proxy/ClassLoaderAdapterCallback.java b/proxy/src/main/java/org/jboss/forge/proxy/ClassLoaderAdapterCallback.java
index <HASH>..<HASH> 100644
--- a/proxy/src/main/java/org/jboss/forge/proxy/ClassLoaderAdapterCallback.java
+++ b/proxy/src/main/java/org/jboss/forge/proxy/C... | Using unwrappedResultType for the proxied class | forge_core | train |
234ad0f54ab0b5f8e375c1641fbeed8c28a1c594 | diff --git a/src/Codemitte/Sfdc/Soql/Parser/QueryTokenizer.php b/src/Codemitte/Sfdc/Soql/Parser/QueryTokenizer.php
index <HASH>..<HASH> 100644
--- a/src/Codemitte/Sfdc/Soql/Parser/QueryTokenizer.php
+++ b/src/Codemitte/Sfdc/Soql/Parser/QueryTokenizer.php
@@ -46,7 +46,7 @@ class QueryTokenizer implements TokenizerInterf... | Query Tokenizer, Word boundaries | joshiausdemwald_Force.com-Toolkit-for-PHP-5.3 | train |
5bb9363281ab3a3df469e7c59887efc0f51339a5 | diff --git a/util/ui/request_logger_file_writer.go b/util/ui/request_logger_file_writer.go
index <HASH>..<HASH> 100644
--- a/util/ui/request_logger_file_writer.go
+++ b/util/ui/request_logger_file_writer.go
@@ -65,7 +65,7 @@ func (display *RequestLoggerFileWriter) DisplayJSONBody(body []byte) error {
sanitized, err... | consistently display request output when there are formatting errors
[Finishes #<I>] | cloudfoundry_cli | train |
9b7d46be41b470f048555ff1593c94710985f073 | diff --git a/core/cb.server/main.js b/core/cb.server/main.js
index <HASH>..<HASH> 100644
--- a/core/cb.server/main.js
+++ b/core/cb.server/main.js
@@ -77,7 +77,7 @@ function setup(options, imports, register) {
baseToken = req.query.token;
doRedirect = true;
}
- if ((baseToken |... | Use auth from querystring even when cookie autoAuth is at false | CodeboxIDE_codebox | train |
7960b1e37494aa456586a5c757c4eaabcdebe3aa | diff --git a/gandi/cli/commands/vlan.py b/gandi/cli/commands/vlan.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/commands/vlan.py
+++ b/gandi/cli/commands/vlan.py
@@ -112,12 +112,19 @@ def create(gandi, name, datacenter, background):
@cli.command()
-@click.option('--name', required=True, help='Name of the vlan.')
... | Add the possibility to update vlan gateway. | Gandi_gandi.cli | train |
12a2b76c9b1e45806481cc8c3a2f85b0a5d1fca4 | diff --git a/tests/pyalveo_test.py b/tests/pyalveo_test.py
index <HASH>..<HASH> 100644
--- a/tests/pyalveo_test.py
+++ b/tests/pyalveo_test.py
@@ -86,7 +86,7 @@ class ClientTest(unittest.TestCase):
self.assertEqual(type(client.cache), pyalveo.Cache)
- with open('responses/1-190.json', 'rb') as rh:
+... | Apparently travis ci runs tests from root folder so need to change these back | Alveo_pyalveo | train |
89ab231ecdc20a6221ba7f39b9828421a55def3c | diff --git a/src/android/Sync.java b/src/android/Sync.java
index <HASH>..<HASH> 100644
--- a/src/android/Sync.java
+++ b/src/android/Sync.java
@@ -301,7 +301,7 @@ public class Sync extends CordovaPlugin {
cached = true;
connection.disconnect();
sendErrorMes... | Add missing semicolons
Fix errors introduced by last commit | phonegap_phonegap-plugin-contentsync | train |
69c1f2c2a760fcb1c4229bff06719c73aa8cce31 | diff --git a/core/blockchain.go b/core/blockchain.go
index <HASH>..<HASH> 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -1070,8 +1070,12 @@ func (bc *BlockChain) insertChain(chain types.Blocks) (int, []interface{}, []*ty
}
switch {
case err == ErrKnownBlock:
- stats.ignored++
- continue
+ /... | core: force import known but rolled back blocks | ethereum_go-ethereum | train |
726f2a48fb0a28529ef1813f4e2b005c00b3db1b | diff --git a/source/rafcon/mvc/utils/constants.py b/source/rafcon/mvc/utils/constants.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/utils/constants.py
+++ b/source/rafcon/mvc/utils/constants.py
@@ -28,6 +28,8 @@ CREATION_CURSOR = gtk.gdk.CROSS
MAX_VALUE_LABEL_TEXT_LENGTH = 7
+MINIMUM_SIZE_FOR_DISPLAY = 5
... | Gaphas: Do not draw elements with a side length <5px
This drastically improves the performance of big nested state machine | DLR-RM_RAFCON | train |
5e2a2a822abcb21c5960d3fa01f0d59e33dad932 | diff --git a/scene/src/playn/scene/GroupLayer.java b/scene/src/playn/scene/GroupLayer.java
index <HASH>..<HASH> 100644
--- a/scene/src/playn/scene/GroupLayer.java
+++ b/scene/src/playn/scene/GroupLayer.java
@@ -128,7 +128,8 @@ public class GroupLayer extends ClippedLayer implements Iterable<Layer> {
int index = fi... | I'm the boss! Need the info. | playn_playn | train |
1ce3cd0f392a31e542c43852bec20aa32a8da193 | diff --git a/config/config_test.go b/config/config_test.go
index <HASH>..<HASH> 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -173,6 +173,26 @@ route_service_secrets:
Expect(config.RouteServiceSecrets[0]).To(Equal("tWPE+sWJq+ZnGJpyKkIPYg=="))
Expect(config.RouteServiceSecrets[1]).To(Equal("i... | Added unit tests for comma separated list of secrets
[#<I>] | cloudfoundry_gorouter | train |
f6166a17e7029583a1f04f2840a75448401486af | diff --git a/lib/concourse-fuselage/step.rb b/lib/concourse-fuselage/step.rb
index <HASH>..<HASH> 100644
--- a/lib/concourse-fuselage/step.rb
+++ b/lib/concourse-fuselage/step.rb
@@ -11,6 +11,10 @@ module Fuselage
include Support::Debugging
include Support::Validation
+ def output
+ fail NotImplemen... | Add #output to Step
A NotImplementedError more strongly indicates that this *should* be
implemented, when compared to a NoMethodError. | colstrom_concourse-fuselage | train |
d1fc71945db8b4a5956e8723b7817cb17d74233d | diff --git a/lib/lev/object.rb b/lib/lev/object.rb
index <HASH>..<HASH> 100644
--- a/lib/lev/object.rb
+++ b/lib/lev/object.rb
@@ -10,6 +10,8 @@ class Object
@active_job_queue = options[:active_job_queue]
+ @raise_fatal_errors = options[:raise_fatal_errors]
+
@delegates_to = options[:delegates_to... | Provide option to override the global setting for fatal errors raising | lml_lev | train |
ac22d21285a19423a7ed4e06ac7bf336dd9f1870 | diff --git a/src/Database/Models.php b/src/Database/Models.php
index <HASH>..<HASH> 100644
--- a/src/Database/Models.php
+++ b/src/Database/Models.php
@@ -61,7 +61,7 @@ class Models
*/
public static function setTables(array $map)
{
- $this->tables = array_merge($this->tables, $map);
+ self... | Switch $this to self::
The function is being called statically. | JosephSilber_bouncer | train |
889349029ca9948819ed75e515062effb8c04d1a | diff --git a/lib/htmlgrid/form.rb b/lib/htmlgrid/form.rb
index <HASH>..<HASH> 100644
--- a/lib/htmlgrid/form.rb
+++ b/lib/htmlgrid/form.rb
@@ -55,7 +55,7 @@ module HtmlGrid
context.hidden('flavor', @lookandfeel.flavor) <<
context.hidden('language', @lookandfeel.language) <<
context.hidden('event', event.t... | ChangeSet <I>: Object#id is deprecated. Use Object#object_id instead
lib/htmlgrid/form.rb: Object#id is deprecated. Use Object#object_id instead
lib/htmlgrid/list.rb: Object#id is deprecated. Use Object#object_id instead | zdavatz_htmlgrid | train |
aff6cd839dcad141a23e2b449270f748f882b920 | diff --git a/tracking/migrations/0008_auto__chg_field_visitor_user__add_field_pageview_referer.py b/tracking/migrations/0008_auto__chg_field_visitor_user__add_field_pageview_referer.py
index <HASH>..<HASH> 100644
--- a/tracking/migrations/0008_auto__chg_field_visitor_user__add_field_pageview_referer.py
+++ b/tracking/m... | Remove alter column operation, fix reference to auth.User
See #<I> | bruth_django-tracking2 | train |
7ab799b58ccbb17bc3e32875729c6b3c8d8d2d14 | diff --git a/ftr/extractor.py b/ftr/extractor.py
index <HASH>..<HASH> 100644
--- a/ftr/extractor.py
+++ b/ftr/extractor.py
@@ -163,7 +163,23 @@ class ContentExtractor(object):
self.config.parser)
self.parser = etree.HTMLParser()
- self.parsed_tree = etree.parse(S... | try to workaround XML pages that declare their own encoding.
This will FAIL miserably unless they are utf-8 encoded, and until we strip the
encoding from meta tags ourselves (sparks already did a good job finding it, to
get us proper unicode). | 1flow_python-ftr | train |
2d61fc2a3130a8e08cf8a93e15362e0192b558f1 | diff --git a/pysat/tests/test_constellation.py b/pysat/tests/test_constellation.py
index <HASH>..<HASH> 100644
--- a/pysat/tests/test_constellation.py
+++ b/pysat/tests/test_constellation.py
@@ -216,11 +216,28 @@ class TestConstellationFunc:
self.inst = list(constellations.testing.instruments)
self.co... | TST: added Constellation unit tests
Added unit tests for new hidden method, existence of standard attributes, and length of list-like attributes. | rstoneback_pysat | train |
1a829b58040fc9eaa6c49d89a4d6e47286291050 | diff --git a/libact/query_strategies/hintsvm.py b/libact/query_strategies/hintsvm.py
index <HASH>..<HASH> 100644
--- a/libact/query_strategies/hintsvm.py
+++ b/libact/query_strategies/hintsvm.py
@@ -29,7 +29,7 @@ class HintSVM(QueryStrategy):
Ch : float, >0
The weight of the hint error on hint pool.
- ... | add some exceptions to hintsvm | ntucllab_libact | train |
0bef33386aad72f00d19bdc0e60273bffc86bce4 | diff --git a/lib/eat.rb b/lib/eat.rb
index <HASH>..<HASH> 100644
--- a/lib/eat.rb
+++ b/lib/eat.rb
@@ -1,4 +1,5 @@
require 'uri'
+require 'httpclient'
# http://weblog.jamisbuck.org/2007/2/7/infinity
unless defined?(::Infinity)
@@ -7,6 +8,8 @@ end
module Eat
module ObjectExtensions
+ AGENT_NAME = "Mozilla/... | send user-agent to satisfy sites like bestbuy.com | seamusabshere_eat | train |
3ffcfda9db3eb43b5e9345bbb331a21304945c55 | diff --git a/lib/y2r/ast/ycp.rb b/lib/y2r/ast/ycp.rb
index <HASH>..<HASH> 100644
--- a/lib/y2r/ast/ycp.rb
+++ b/lib/y2r/ast/ycp.rb
@@ -772,12 +772,13 @@ module Y2R
class ModuleBlock < Block
def compile(context)
- real_name = name.
- sub(/^./) { |s| s.upcase }.
- sub(/\.y... | Remove code that fixed YCP module names
It turned out that original (unfixed) module names also appeared in
other contexts than <block type="module">, e.g. when calling a module's
function. Rather than fix all the occurences, we decided to make all
module names in upstream valid Ruby class names.
This commit removes ... | yast_y2r | train |
3630d7d2dbd1eb23738ed61655d4a94bee405eef | diff --git a/http_monkey.gemspec b/http_monkey.gemspec
index <HASH>..<HASH> 100644
--- a/http_monkey.gemspec
+++ b/http_monkey.gemspec
@@ -23,6 +23,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "rake"
gem.add_development_dependency "minitest", "~> 3"
gem.add_development_dependency "minite... | Removed WebMock to get "real" Net::HTTP object
By removing webmock, integration specs could catch error
"undefined method `use_ssl=' for Net::HTTP" from httpi
on ruby <I> | rogerleite_http_monkey | train |
6ec85e72b0ee20ed93ccc4fb375aff89d24934a3 | diff --git a/sink.js b/sink.js
index <HASH>..<HASH> 100644
--- a/sink.js
+++ b/sink.js
@@ -20,15 +20,16 @@ module.exports = function(socket, opts) {
if (closeOnEnd && socket.readyState <= 1) {
if(onClose)
socket.addEventListener('close', function (ev) {
- if(ev.wasClean) on... | <I> seems to mean normal disconnection... not sure about this, but it makes tests work | pull-stream_pull-ws | train |
9344f989caafe3a3e62180cadf49fa87fe1c5b57 | diff --git a/python/herald/directory.py b/python/herald/directory.py
index <HASH>..<HASH> 100644
--- a/python/herald/directory.py
+++ b/python/herald/directory.py
@@ -155,7 +155,7 @@ class HeraldDirectory(object):
A directory listener has been bound
"""
for peer in list(self._peers.values()):... | Corrected call to peer_registered() when binding a directory listener
The binding method was still calling the old name "peer_added" | cohorte_cohorte-herald | train |
b5f70540eee0ebfb6a27b52fc5b131be76415539 | diff --git a/githubv4_test.go b/githubv4_test.go
index <HASH>..<HASH> 100644
--- a/githubv4_test.go
+++ b/githubv4_test.go
@@ -29,6 +29,7 @@ func TestClient_Query(t *testing.T) {
if got, want := body, `{"query":"{viewer{login,bio}}"}`+"\n"; got != want {
t.Errorf("got body: %v, want %v", got, want)
}
+ w.Hea... | Set Content-Type to application/json in tests.
This is more consistent with responses real GraphQL servers generate. | shurcooL_githubv4 | train |
7b9a47478e15e7be58340d3e21fd60e3fd7b7132 | diff --git a/tests/unit/admin/categorymainajaxTest.php b/tests/unit/admin/categorymainajaxTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/admin/categorymainajaxTest.php
+++ b/tests/unit/admin/categorymainajaxTest.php
@@ -48,11 +48,11 @@ class Unit_Admin_CategoryMainAjaxTest extends OxidTestCase
// ox... | ESDEV-<I> Add previously removed EE code. | OXID-eSales_oxideshop_ce | train |
22259e32af6b907c3578187c4ba9a1a1eafd5f5a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -5,10 +5,10 @@ module.exports = function(content) {
if (this.cacheable) { this.cacheable(); }
var query = loaderUtils.parseQuery(this.query);
- if (typeof query === "object" && query.regex && query.sub) {
+ if (typ... | Fixed while sub is 0 length string. | fongandrew_replace-loader | train |
2527e66dd8f9dd23a2571f8bd8f2918edf6fc0cd | diff --git a/core/src/main/java/hudson/console/ConsoleNote.java b/core/src/main/java/hudson/console/ConsoleNote.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/console/ConsoleNote.java
+++ b/core/src/main/java/hudson/console/ConsoleNote.java
@@ -191,9 +191,11 @@ public abstract class ConsoleNote<T> imp... | [SECURITY-<I>] Be more compatible with maven-plugin. | jenkinsci_jenkins | train |
95365357c39403771287d2759f8274edbd2cb82b | diff --git a/lib/notifications-lib.js b/lib/notifications-lib.js
index <HASH>..<HASH> 100644
--- a/lib/notifications-lib.js
+++ b/lib/notifications-lib.js
@@ -134,7 +134,9 @@ function getBaseTransaction(remote, dbinterface, opts, callback) {
return;
}
- tx_from_db.from_local_db = true;
+ ... | [FIX] Fixed read from db bug | ripple_ripple-rest | train |
228a2970566261df7f86764ca94cb6a670500064 | diff --git a/cmd/geth/genesis_test.go b/cmd/geth/genesis_test.go
index <HASH>..<HASH> 100644
--- a/cmd/geth/genesis_test.go
+++ b/cmd/geth/genesis_test.go
@@ -28,22 +28,6 @@ var customGenesisTests = []struct {
query string
result string
}{
- // Plain genesis file without anything extra
- {
- genesis: `{
- "a... | cmd/geth: fix bad genesis test (#<I>) | ethereum_go-ethereum | train |
1fa11cfa806b7889c158c1a6a791704157453d65 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1328,73 +1328,6 @@ Buffer.prototype.fill = function fill (value, start, end) {
// HELPER FUNCTIONS
// ================
-var BP = Buffer.prototype
-
-/**
- * Augment a Uint8Array *instance* (not the Uint8Array class!) with... | Remove `Buffer._augment` function
`typedarray-to-buffer` is changed so it can augment Buffers without
this function, just by changing the __proto__ property. | feross_buffer | train |
01dd2fbf2c3524ccda477f0c4ebf5f89aadee86d | diff --git a/bdata/bdata.py b/bdata/bdata.py
index <HASH>..<HASH> 100644
--- a/bdata/bdata.py
+++ b/bdata/bdata.py
@@ -574,9 +574,10 @@ class bdata(object):
asym_hel = [(d0-d1)/denom1,
(d2-d3)/denom2]
- # errors
- asym_hel_err = [2*np.sqrt((d0*d1)/denom1... | Fixed error calculation for helicities | dfujim_bdata | train |
61fafcedf44f64e97f38ae572abb64548c1de3f5 | diff --git a/Backoffice/Security/Authorization/Voter/NodeVersionVoter.php b/Backoffice/Security/Authorization/Voter/NodeVersionVoter.php
index <HASH>..<HASH> 100644
--- a/Backoffice/Security/Authorization/Voter/NodeVersionVoter.php
+++ b/Backoffice/Security/Authorization/Voter/NodeVersionVoter.php
@@ -31,7 +31,9 @@ cla... | fix error access denied when select other version node | open-orchestra_open-orchestra-cms-bundle | train |
a424fae060981717ef6100a1c5dc9c3ecac41876 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,9 +1,11 @@
// adds `window.foo = "default";` at the top of the module
// will repleace "default" with the content of options.text
-export default function({ types: t }) {
+module.exports = function(babel) {
+ var t = bab... | Use CJS so this plugin can run on Node | stealjs_babel-plugin-steal-test | train |
9a9091a7ea66db7dd100efae994c05193f44b548 | diff --git a/src/League/Fractal/TransformerAbstract.php b/src/League/Fractal/TransformerAbstract.php
index <HASH>..<HASH> 100644
--- a/src/League/Fractal/TransformerAbstract.php
+++ b/src/League/Fractal/TransformerAbstract.php
@@ -14,6 +14,7 @@ namespace League\Fractal;
use League\Fractal\Resource\Collection;
use Lea... | Added basics for defaultEmbed support. | thephpleague_fractal | train |
4513745cc176a0eb43001cefd993e1f29e218759 | diff --git a/safe/impact_functions/volcanic/volcano_polygon_building/impact_function.py b/safe/impact_functions/volcanic/volcano_polygon_building/impact_function.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/volcanic/volcano_polygon_building/impact_function.py
+++ b/safe/impact_functions/volcanic/volcano_p... | Remove not affected handling from IF volcano polygon. | inasafe_inasafe | train |
cb0aaf44cc6991a6711e94865af2a9f3ac64fb6c | diff --git a/lib/review/htmlbuilder.rb b/lib/review/htmlbuilder.rb
index <HASH>..<HASH> 100644
--- a/lib/review/htmlbuilder.rb
+++ b/lib/review/htmlbuilder.rb
@@ -490,10 +490,18 @@ EOT
end
def listnum_body(lines, lang)
- body = lines.inject(''){|i, j| i + detab(j) + "\n"}
- lexer = lang
- put... | Revert behavior of listnum/emlistnum in htmlbuilder without highlight (#<I>) | kmuto_review | train |
0b2240d33997eb99d4c569ad6348895845e3ffe1 | diff --git a/librosa/core/spectrum.py b/librosa/core/spectrum.py
index <HASH>..<HASH> 100644
--- a/librosa/core/spectrum.py
+++ b/librosa/core/spectrum.py
@@ -1038,10 +1038,10 @@ def perceptual_weighting(S, frequencies, **kwargs):
Re-weight a CQT power spectrum, using peak power as reference
>>> y, sr = lib... | naming in perceptual_weighting docstring: CQT -> C
addresses CR by @stefan-balke | librosa_librosa | train |
b640e6815a05e8c6e7b3d6e7aa25a19a940b6dcf | diff --git a/mod/quiz/accessrule/openclosedate/rule.php b/mod/quiz/accessrule/openclosedate/rule.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/accessrule/openclosedate/rule.php
+++ b/mod/quiz/accessrule/openclosedate/rule.php
@@ -64,11 +64,29 @@ class quizaccess_openclosedate extends quiz_access_rule_base {
}
... | MDL-<I> quiz overdue handling: allow access to summary during grace period | moodle_moodle | train |
43753d07be6af468f4d8e9ab6667009cf40620c5 | diff --git a/publishes/config.php b/publishes/config.php
index <HASH>..<HASH> 100755
--- a/publishes/config.php
+++ b/publishes/config.php
@@ -93,7 +93,7 @@ return [
],
'translations' => [
- 'enabled' => true,
+ 'enabled' => false,
'filters' => [
# build filters based on ... | disable translations by default because of missing table dependency | adminarchitect_core | train |
e755c6b72043c7e9ce53b26da3aacf9ad481214f | diff --git a/test/sources/cabal_test.rb b/test/sources/cabal_test.rb
index <HASH>..<HASH> 100644
--- a/test/sources/cabal_test.rb
+++ b/test/sources/cabal_test.rb
@@ -77,8 +77,8 @@ if Licensed::Shell.tool_available?("ghc")
end
it "sets an error if an indirect dependency isn't found" do
- # look i... | look in all locations except global
bytestring should be in global | github_licensed | train |
adf91efd590be97b075dbf279514c69918b32852 | diff --git a/auth.go b/auth.go
index <HASH>..<HASH> 100644
--- a/auth.go
+++ b/auth.go
@@ -8,9 +8,10 @@ import (
// AuthConfig hold parameters for authenticating with the docker registry
type AuthConfig struct {
- Username string `json:"username,omitempty"`
- Password string `json:"password,omitempty"`
- Email s... | Add token pass-thru for AuthConfig
This extends the AuthConfig to allow token pass-thru and augments the
CreateContainer API to set the X-Registry-Auth header if an AuthConfig
is passed in. This will allow Swarm to pull private images on specific
nodes based on container creation. | samalba_dockerclient | train |
89e484f6bc8cb27c54443fee399959c0164194be | diff --git a/gui/resource.py b/gui/resource.py
index <HASH>..<HASH> 100644
--- a/gui/resource.py
+++ b/gui/resource.py
@@ -15,7 +15,7 @@ import os
import pprint
from . import util
-PYTHONCARD_EVENT_MAP = {'onselect': 'onclick', 'onmouseClick': 'onmousedown',
+PYTHONCARD_EVENT_MAP = {'onselect': 'onclick', 'onmouse... | renamed pythoncard onmouseclick -> onclick event name conversion | reingart_gui2py | train |
424f665d33129680a33a283d5a02dc72adbbcc92 | diff --git a/src/DOM/__tests__/domMutate.spec.ut.js b/src/DOM/__tests__/domMutate.spec.ut.js
index <HASH>..<HASH> 100644
--- a/src/DOM/__tests__/domMutate.spec.ut.js
+++ b/src/DOM/__tests__/domMutate.spec.ut.js
@@ -1,4 +1,4 @@
-import { insertOrAppend } from '../domMutate';
+import { insertOrAppend, remove } from '../d... | added remove() validation + ut tests | infernojs_inferno | train |
c5e48bb43c97a905cde84e6a7f33609e51bd682c | diff --git a/lib/egon/overcloud/undercloud_handle/node.rb b/lib/egon/overcloud/undercloud_handle/node.rb
index <HASH>..<HASH> 100644
--- a/lib/egon/overcloud/undercloud_handle/node.rb
+++ b/lib/egon/overcloud/undercloud_handle/node.rb
@@ -18,7 +18,6 @@ module Overcloud
create_port({:node_uuid => node.uuid, :addr... | Don't automatically start introspection on node creation, do it manually later | fusor_egon | train |
23d308b949adc0b2993a8ba28ed356f1862f1da0 | diff --git a/javagit/src/main/java/edu/nyu/cs/javagit/utilities/CheckUtilities.java b/javagit/src/main/java/edu/nyu/cs/javagit/utilities/CheckUtilities.java
index <HASH>..<HASH> 100644
--- a/javagit/src/main/java/edu/nyu/cs/javagit/utilities/CheckUtilities.java
+++ b/javagit/src/main/java/edu/nyu/cs/javagit/utilities/C... | - Adding new check methods to CheckUtilities. | bit-man_SwissArmyJavaGit | train |
555822ac3c185043ffa6a19d780a81fb94e4da8f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -43,9 +43,9 @@ setup(
install_requires=[
'django-fluent-utils>=1.0', # DRY utility code
- 'django-parler>=1.1', # Needed for Django 1.7 compatibility
+ 'django-parler>=1.1.1', ... | setup.py: enforce latest stable releases with bugfixes | django-fluent_django-fluent-contents | train |
ba16351a24c8f6d253ac8f3c679180ff4b3cb755 | diff --git a/sc2gameLobby/__init__.py b/sc2gameLobby/__init__.py
index <HASH>..<HASH> 100644
--- a/sc2gameLobby/__init__.py
+++ b/sc2gameLobby/__init__.py
@@ -29,7 +29,6 @@ from sc2gameLobby import getGameData
from sc2gameLobby import genericObservation as go
from sc2gameLobby import hostGame
from sc2gameLobby impor... | - replay is its own, separate package | ttinies_sc2gameLobby | train |
2735215b6d480d40520ebb71c530537ad8224e51 | diff --git a/dock/inner.py b/dock/inner.py
index <HASH>..<HASH> 100644
--- a/dock/inner.py
+++ b/dock/inner.py
@@ -8,7 +8,8 @@ import shutil
import tempfile
from dock.build import InsideBuilder
-from dock.plugin import PostBuildPluginsRunner, PreBuildPluginsRunner, InputPluginsRunner, PrePublishPluginsRunner
+from ... | plugin: new conf option "can_fail": terminate execution if plugin fails
also improve logging/messages | projectatomic_atomic-reactor | train |
b08121bdd633b294d591cb9f688514924222c8a3 | diff --git a/src/Format/Json.php b/src/Format/Json.php
index <HASH>..<HASH> 100644
--- a/src/Format/Json.php
+++ b/src/Format/Json.php
@@ -30,7 +30,10 @@ class Json extends AbstractRegistryFormat
*/
public function objectToString($object, $options = array())
{
- return StringHelper::unicode_to_utf8(json_encode(... | Support passing options to json_encode in Json formatter | joomla-framework_registry | train |
507931cd0d7aab4b5a6e9dcc78525bbc5a66376a | diff --git a/core/server/src/main/java/alluxio/worker/block/BlockLockManager.java b/core/server/src/main/java/alluxio/worker/block/BlockLockManager.java
index <HASH>..<HASH> 100644
--- a/core/server/src/main/java/alluxio/worker/block/BlockLockManager.java
+++ b/core/server/src/main/java/alluxio/worker/block/BlockLockMa... | Clean up block lock reference counting
Also fix a bug in the case where two threads acquire a block
lock for the same block id at the same time. | Alluxio_alluxio | train |
0c72960d26e3a63f9b343f31af8175387780c35a | diff --git a/curtsies/window.py b/curtsies/window.py
index <HASH>..<HASH> 100644
--- a/curtsies/window.py
+++ b/curtsies/window.py
@@ -344,8 +344,11 @@ class CursorAwareWindow(BaseWindow):
)
return c
except IOError:
- raise ValueError("cu... | Turns out cursor pos resp does get interrupted | bpython_curtsies | train |
5ab65dc61f2c4609919e6243476325ad05cdc5ab | diff --git a/tests/parser_tests.py b/tests/parser_tests.py
index <HASH>..<HASH> 100644
--- a/tests/parser_tests.py
+++ b/tests/parser_tests.py
@@ -504,15 +504,46 @@ foo
`file \\#2`
"$15"
''')
+ assert len(grid_list) == 1
+ grid = grid_list.pop(0)
+ assert len(grid) == 4
+ assert len(grid.metadata) == 0
+... | parser tests: Complete more tests | vrtsystems_hszinc | train |
f753b38d85fd63620ed51cc78be93b7b6ebcd6a6 | diff --git a/stanza/utils/training/run_pos.py b/stanza/utils/training/run_pos.py
index <HASH>..<HASH> 100644
--- a/stanza/utils/training/run_pos.py
+++ b/stanza/utils/training/run_pos.py
@@ -49,6 +49,11 @@ def run_treebank(mode, paths, treebank, short_name,
"--shorthand", short_name,
... | A few languages don't have pretrains for POS | stanfordnlp_stanza | train |
3b2ede88e0283e513e938f2330a7ae0121760487 | diff --git a/core/server/models/relations/authors.js b/core/server/models/relations/authors.js
index <HASH>..<HASH> 100644
--- a/core/server/models/relations/authors.js
+++ b/core/server/models/relations/authors.js
@@ -228,6 +228,13 @@ module.exports.extendModel = function extendModel(Post, Posts, ghostBookshelf) {
... | Handled duplicated authors
no issue
- discovered while testing
- the matching helper can fallback twice to owner user in theory | TryGhost_Ghost | train |
3cd317a95f05a62daf51013b8bfa2980fcc2c0b5 | diff --git a/skyfield/keplerianlib.py b/skyfield/keplerianlib.py
index <HASH>..<HASH> 100644
--- a/skyfield/keplerianlib.py
+++ b/skyfield/keplerianlib.py
@@ -1,7 +1,7 @@
from math import sin, cos
import math
-import constants
-from positionlib import ICRCoordinates
+from . import constants
+from .positionlib import ... | Fix some Python 3 breakages in Keplerian material
Drat; must remember to run tox more often. Maybe I should automate it. :) | skyfielders_python-skyfield | train |
4d706e99c2b1131abf04c3756aeda5c518470afd | diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/IncidentToAdjacentStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/IncidentToAdjacentStrategy.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/sr... | Optimized IncidentToAdjacentStrategy by implementing (and using) yet another TraversalHelper.hasStepOfAssignableClassRecursively() method.
The new implementation accepts a collection of step classes. This way the recursion doesn't have to happen twice (or more) if your're looking for more than one step class. | apache_tinkerpop | train |
94035d536de6a612fa77fed2fa94f79c8131ca5b | diff --git a/app/doctrine.php b/app/doctrine.php
index <HASH>..<HASH> 100755
--- a/app/doctrine.php
+++ b/app/doctrine.php
@@ -7,6 +7,7 @@
use Doctrine\ORM\Configuration,
Doctrine\Common\EventManager,
Doctrine\ORM\EntityManager,
+ Doctrine\ORM\Proxy\Autoloader,
Chalk\Doctrine\ORM\EntityManager as ChalkEntityMana... | Ensure proxies are autoloaded. | jacksleight_chalk | train |
da6a9a5638ca605e86cccfc3a60ea73133ce980b | diff --git a/test/export/data/numbers_test.rb b/test/export/data/numbers_test.rb
index <HASH>..<HASH> 100644
--- a/test/export/data/numbers_test.rb
+++ b/test/export/data/numbers_test.rb
@@ -6,6 +6,7 @@ require File.expand_path(File.join(File.dirname(__FILE__) + "/../../test_helper"
class TestCldrDataNumbers < Test::U... | Update numbers_test for modern CLDR | ruby-i18n_ruby-cldr | train |
e35db467e2333494e80d3cd16b8fbbad8604e42a | diff --git a/lib/walker.js b/lib/walker.js
index <HASH>..<HASH> 100644
--- a/lib/walker.js
+++ b/lib/walker.js
@@ -78,16 +78,19 @@ Walker.prototype.walk = function(callback) {
return callback(e, nextStep, lastStep)
}
- // turn relative URI into absolute URI or whatever else is required
- ... | fix problems introduced by using url.resolve in HAL walker
Before this commit, post processing the url happened before resolving URI
templates. In node <I> and browserify with url@<I> this is okay, but in the
near future (node <I>/<I> and url@<I>) this will break because curly braces
will be url encoded and then the U... | traverson_traverson | train |
a7fb6104e3c8fd565792456e74557cd98207411d | diff --git a/gremlin/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/io/kryo/KryoReader.java b/gremlin/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/io/kryo/KryoReader.java
index <HASH>..<HASH> 100644
--- a/gremlin/gremlin-core/src/main/java/com/tinkerpop/gremlin/structure/io/kryo/KryoReader.jav... | Extract skipEdges function in kryo serialization. | apache_tinkerpop | train |
2dbe6e10e0a4bef756fe67d71f05cf89880e6688 | diff --git a/venn.js b/venn.js
index <HASH>..<HASH> 100644
--- a/venn.js
+++ b/venn.js
@@ -71,7 +71,7 @@
}
// compute distances between all the points
- for (var i = 0; i < overlaps.length; ++i) {
+ for (i = 0; i < overlaps.length; ++i) {
var current = overlaps[i];
... | Linting!
Make sure jslint pass.
Cheers,
Julien | benfred_venn.js | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.