hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
c646e4a91e54252772d85235bc1822c639d80505 | diff --git a/lib/locabulary/item.rb b/lib/locabulary/item.rb
index <HASH>..<HASH> 100644
--- a/lib/locabulary/item.rb
+++ b/lib/locabulary/item.rb
@@ -1,6 +1,42 @@
module Locabulary
- # A singular item in the controlled vocubulary
+ # A singular item in the controlled vocubulary.
+ # @see https://en.wikipedia.org/w... | Improving documentation of Locabulary::Item
There is some confusing concerning locabulary items and the intention
of each of the attributes. This is my attempt to provide some clarify.
Attention: @banurekha, @danhorst | ndlib_locabulary | train |
80b5d63d2e5f8b2253f1476895f365b6b2aec025 | diff --git a/lib/Doctrine/DBAL/Connection.php b/lib/Doctrine/DBAL/Connection.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/DBAL/Connection.php
+++ b/lib/Doctrine/DBAL/Connection.php
@@ -514,7 +514,7 @@ class Connection implements DriverConnection
$criteria[] = $columnName . ' = ?';
}
- ... | Connection: Replaced ! is_int with is_string
Intended side effect is not to call extractTypeValues when $types array is empty which it is by default. | doctrine_dbal | train |
1ba521d7ed0acf0ccad03d72680d2248217892fb | diff --git a/src/Ffcms/Core/Helper/HTML/System/NativeGenerator.php b/src/Ffcms/Core/Helper/HTML/System/NativeGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Ffcms/Core/Helper/HTML/System/NativeGenerator.php
+++ b/src/Ffcms/Core/Helper/HTML/System/NativeGenerator.php
@@ -114,7 +114,7 @@ abstract class NativeGenerato... | Fix urlencodng in link building | phpffcms_ffcms-core | train |
0e35ebed8a67726811b4c4608413b5f024bca103 | diff --git a/test/Component.test.js b/test/Component.test.js
index <HASH>..<HASH> 100644
--- a/test/Component.test.js
+++ b/test/Component.test.js
@@ -1952,6 +1952,95 @@ function ComponentTests (debug, memory) {
t.end()
})
+ // while this topic is tested by other tests too, this represents
+ // a situation ... | Added a test revealing a RenderingEngine bug. | substance_substance | train |
639f8a39087246ec772a1df10f4b75cfe13ae7fd | diff --git a/lib/astrails/safe/s3.rb b/lib/astrails/safe/s3.rb
index <HASH>..<HASH> 100644
--- a/lib/astrails/safe/s3.rb
+++ b/lib/astrails/safe/s3.rb
@@ -52,7 +52,7 @@ module Astrails
cleanup_with_limit(files, keep) do |f|
puts "removing s3 file #{bucket}:#{f}" if $DRY_RUN || $_VERBOSE
- ... | Changed S3#cleanup so that rather than getting trying to get all objects, finding the index and deleting, it now finds objects with the path we wish to delete and calls delete on the first one (in theory there should be only one). The reason for this is that AWS::S3::Bucket.find(bucket)[f] only has access to the first... | astrails_safe | train |
45fdc95fd831079e6ca3cf009f99ed618ce5fe82 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -147,14 +147,8 @@ return array(
#BASE URL (usually the domain root)
'BASE_URL' => ROOT_URL.'tao/',
- #BASE WWW the web resources path
- 'BASE_WWW' => ROOT_URL . 'tao/views/',
-... | remerge develop's manifest | oat-sa_tao-core | train |
8ca779f5db9bda8c0c2dc3ce421e0745cea22080 | diff --git a/tofu/data/_core.py b/tofu/data/_core.py
index <HASH>..<HASH> 100644
--- a/tofu/data/_core.py
+++ b/tofu/data/_core.py
@@ -1889,7 +1889,7 @@ class DataAbstract(utils.ToFuObject):
raise Exception(msg)
chronos, s, topos = _comp.calc_svd(self.data, lapack_driver=lapack_driver)
- ... | tf.data.Data.extract_svd(): replaced @ by np.matmult for Python <I> retro-compatibility | ToFuProject_tofu | train |
2878ad203688f98597ec50ba170f672494f8cfd2 | diff --git a/src/Request.php b/src/Request.php
index <HASH>..<HASH> 100644
--- a/src/Request.php
+++ b/src/Request.php
@@ -180,6 +180,7 @@ class Request implements \JsonSerializable
* Turns a url string into an array of parameters
* @param string $url
* @return array
+ * @SuppressWarnings(PHPMD.Su... | supress phpmd warning here | AyeAyeApi_Api | train |
47dd4ac5dd6b63746a710ae5bbea4f7dc6f90634 | diff --git a/spec/acceptance/command_spec.rb b/spec/acceptance/command_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/acceptance/command_spec.rb
+++ b/spec/acceptance/command_spec.rb
@@ -12,6 +12,7 @@ RSpec.describe 'calling a Command' do
describe '#run(context, *args, **kwargs)' do
it 'executes a command' do... | Mark tests not prepared for Windows as pending | puppetlabs_puppet-resource_api | train |
7827ff7581a69c30cc0843ebf5bbb4cebe74fcb9 | diff --git a/camera.go b/camera.go
index <HASH>..<HASH> 100644
--- a/camera.go
+++ b/camera.go
@@ -35,25 +35,19 @@ func (cam *Camera) Update(dt float32) {
}
func (cam *Camera) centerCam(width, height, lerp float32, space *SpaceComponent) {
- lvl := Files.Level("test.tmx")
-
- maxX := float32(lvl.Width * lvl.TileWid... | camera,engi: add WorldBounds AABB camera will not pass it fixes #5 | EngoEngine_engo | train |
b3a79438e17c07fa6d930480b09a8cfc33c5bb0d | diff --git a/ig_markets.gemspec b/ig_markets.gemspec
index <HASH>..<HASH> 100644
--- a/ig_markets.gemspec
+++ b/ig_markets.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'excon', '~> 0.51'
s.add_runtime_dependency 'lightstreamer', '~> 0.14'
s.add_runtime_dependency 'pry', '~> ... | Sprint markets aren’t working on demo accounts, so drop them from the self-test | richard-viney_ig_markets | train |
f7bf82368a96c7146ed15ee5857221acaf713646 | diff --git a/test/ocsp/helper/helper.go b/test/ocsp/helper/helper.go
index <HASH>..<HASH> 100644
--- a/test/ocsp/helper/helper.go
+++ b/test/ocsp/helper/helper.go
@@ -122,6 +122,9 @@ func Req(fileName string) (*ocsp.Response, error) {
http.DefaultClient.Timeout = 5 * time.Second
httpResp, err := sendHTTPRequest(r... | Return error from `sendHTTPRequest` immediately. (#<I>)
Prior to this commit the `httpResp` result of `sendHTTPRequest` was
examined even in the case where `sendHTTPRequest` returns a non-nil
error. This can cause a nil panic since the `httpResp` may be `nil` when
the error is not. This commit returns an error from... | letsencrypt_boulder | train |
c9085e6fb769b51026479fc356caa629f6ffb014 | diff --git a/src/pinch-it.js b/src/pinch-it.js
index <HASH>..<HASH> 100644
--- a/src/pinch-it.js
+++ b/src/pinch-it.js
@@ -3,7 +3,7 @@
import eventDispatcher from './utils/dispatch-event';
import { detectDoubleTap } from './utils/detect-event';
import { cancelEvent, getTouches } from './utils/handle-event';
-import ... | updates to new scaleElement function, adds bounch animation back to ontouchend, fixes minor bugs in pinching | houseofradon_pinchit | train |
5a053ac9b69ff58a4b2500fbee52b3c971a0ce40 | diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py
index <HASH>..<HASH> 100644
--- a/openpnm/algorithms/GenericTransport.py
+++ b/openpnm/algorithms/GenericTransport.py
@@ -550,6 +550,10 @@ class GenericTransport(GenericAlgorithm):
A = A.tocsr()
x0 = np.zeros_... | Catch and throw error if unknown solver_family is passed to GenericTransport, previously GT would still run but generated some hard-to-debug error | PMEAL_OpenPNM | train |
1774aca6f2f17990847df942c468acd0af39ca33 | diff --git a/inc/api/endpoints/controller/class-customtype.php b/inc/api/endpoints/controller/class-customtype.php
index <HASH>..<HASH> 100644
--- a/inc/api/endpoints/controller/class-customtype.php
+++ b/inc/api/endpoints/controller/class-customtype.php
@@ -65,6 +65,11 @@ class CustomType extends \WP_REST_Posts_Contro... | fix: keep private content private after cloning | pressbooks_pressbooks | train |
e31c0c8001116032f256886b72adf5e97f7e00c2 | diff --git a/src/array.js b/src/array.js
index <HASH>..<HASH> 100644
--- a/src/array.js
+++ b/src/array.js
@@ -100,10 +100,10 @@ export const range = (...args) => {
else if (args.length === 3) {
[start, stop, step,] = args
if (step === 0) throw new RangeError(
- "range() 'step' argumen... | Improved TypeError exception messages. | drmats_js-toolbox | train |
359a30afe9b17babccfbd717d0ef6275bc106366 | diff --git a/dist/feedhenry-forms.js b/dist/feedhenry-forms.js
index <HASH>..<HASH> 100644
--- a/dist/feedhenry-forms.js
+++ b/dist/feedhenry-forms.js
@@ -8548,7 +8548,7 @@ module.exports = {
},{"./fhparams":31,"./logger":37,"./queryMap":39,"JSON":3}],27:[function(_dereq_,module,exports){
module.exports = {
"boxpr... | Generated latest version of dist versions of js-sdk | feedhenry_fh-sync-js | train |
59ce6fda9db4b42410152f41a1d7544446bae2cb | diff --git a/flaky/flaky_pytest_plugin.py b/flaky/flaky_pytest_plugin.py
index <HASH>..<HASH> 100644
--- a/flaky/flaky_pytest_plugin.py
+++ b/flaky/flaky_pytest_plugin.py
@@ -86,7 +86,8 @@ class FlakyPlugin(_FlakyPlugin):
if passed:
should_rerun = self.add_success(item)
... | Don't retry @skipped tests.
Fixes #<I>, which is a regression on #<I>.
When the py.test plugin was refactored in #<I>, the logic to not
retry Skipped tests was accidentally removed. This commit restores the logic
and adds a test so that we won't regress on this again. | box_flaky | train |
7b918e463d2796e207e3006fa5c2f1b23ab0f13d | diff --git a/web/src/main/webapp/js/engine.js b/web/src/main/webapp/js/engine.js
index <HASH>..<HASH> 100755
--- a/web/src/main/webapp/js/engine.js
+++ b/web/src/main/webapp/js/engine.js
@@ -57,29 +57,29 @@ App.controller('GigaSpaceBrowserController', ['$scope', '$http', '$q', '$timeout
con... | Keep custom user/password if they are not predefined | terma_gigaspace-web-console | train |
1473b678de577c3da1fc53da7dd94781b9bc1fb2 | diff --git a/src/BoomCMS/Http/Controllers/Asset/AssetController.php b/src/BoomCMS/Http/Controllers/Asset/AssetController.php
index <HASH>..<HASH> 100644
--- a/src/BoomCMS/Http/Controllers/Asset/AssetController.php
+++ b/src/BoomCMS/Http/Controllers/Asset/AssetController.php
@@ -45,6 +45,8 @@ class AssetController exten... | Bugfix: Asset description not saved after upload from text editor | boomcms_boom-core | train |
650268088497ca86721f137dfda10392bcb30a33 | diff --git a/salt/modules/file.py b/salt/modules/file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/file.py
+++ b/salt/modules/file.py
@@ -536,13 +536,20 @@ def sed_contains(path, text, limit='', flags='g'):
if not os.path.exists(path):
return False
- result = __salt__['file.sed'](path,
- ... | Rewrite file.sed_contains to run its own sed command
Fixes #<I>
Fixes #<I>
file.sed automatically adds the -i flag, which makes sed not print as
expected, breaking our contains check. It makes more sense to run
our own sed command here than to add a new flag to file.sed just for
whenn we call it from file.sed_contain... | saltstack_salt | train |
a8781c53133c8ae762ae91660bcd1bc78fa1f924 | diff --git a/UPDATING.md b/UPDATING.md
index <HASH>..<HASH> 100644
--- a/UPDATING.md
+++ b/UPDATING.md
@@ -27,6 +27,8 @@ assists people when migrating to a new version.
- [13980](https://github.com/apache/superset/pull/13980): Data health checks no longer use the metadata database as an interim cache. Though non-bre... | fix(hive): Update CSV to Hive upload prefix (#<I>)
* fix(hive): Update CSV to Hive upload prefix
* Trigger notification | apache_incubator-superset | train |
52dc27f4ac8cada07219d5a94cff2f7b4ce93024 | diff --git a/Kwf/Setup.php b/Kwf/Setup.php
index <HASH>..<HASH> 100644
--- a/Kwf/Setup.php
+++ b/Kwf/Setup.php
@@ -28,10 +28,11 @@ class Kwf_Setup
public static function setUp($configClass = 'Kwf_Config_Web')
{
error_reporting(E_ALL);
+ Kwf_Setup::$configClass = $configClass;
if (!@in... | don't cache configClass
- it was cached across clear-cache requeusts
- it sould not be slower that way
- code is simpler that way (configClass doesn't need to be passed everywhere) | koala-framework_koala-framework | train |
0540e9561a35e1588d25c210c4c2c628a1223b87 | diff --git a/lib/heroics.rb b/lib/heroics.rb
index <HASH>..<HASH> 100644
--- a/lib/heroics.rb
+++ b/lib/heroics.rb
@@ -20,3 +20,4 @@ require 'heroics/schema'
require 'heroics/command'
require 'heroics/cli'
require 'heroics/client_generator'
+require 'heroics/wub'
diff --git a/lib/heroics/schema.rb b/lib/heroics/sche... | - Add docstrings. | interagent_heroics | train |
1d0b0b21d18d099cfede4c2902aea229484b5990 | diff --git a/lib/ticket_evolution/modules/update.rb b/lib/ticket_evolution/modules/update.rb
index <HASH>..<HASH> 100644
--- a/lib/ticket_evolution/modules/update.rb
+++ b/lib/ticket_evolution/modules/update.rb
@@ -5,7 +5,9 @@ module TicketEvolution
Class.new{extend SingularClass}.singular_class(klass.name).se... | cleaned up testing around #update_attributes and #save and fixed issue where update_attributes was not sending full data | ticketevolution_ticketevolution-ruby | train |
e3069b98d22dd4f311f277ae5c3a6981bc0a6050 | diff --git a/webapps/client/scripts/directives/processDiagram.js b/webapps/client/scripts/directives/processDiagram.js
index <HASH>..<HASH> 100644
--- a/webapps/client/scripts/directives/processDiagram.js
+++ b/webapps/client/scripts/directives/processDiagram.js
@@ -123,7 +123,7 @@ define([
if ($scope.control.is... | fix(bpmn diagram): preserve selection after page refresh
related to CAM-<I> | camunda_camunda-bpm-platform | train |
ef452ed4c1161a0b71369be7c86e450fd41b52f8 | diff --git a/docker/utils/utils.py b/docker/utils/utils.py
index <HASH>..<HASH> 100644
--- a/docker/utils/utils.py
+++ b/docker/utils/utils.py
@@ -322,6 +322,9 @@ def parse_bytes(s):
if len(s) == 0:
s = 0
else:
+ if s[-2:-1].isalpha() and s[-1].isalpha():
+ if (s[-1] == "b" or s[-1]... | make memory units compatible with native docker cli | docker_docker-py | train |
3af41e14eeaa54c3879b273423683784889ad4db | diff --git a/classes/phing/system/io/FileOutputStream.php b/classes/phing/system/io/FileOutputStream.php
index <HASH>..<HASH> 100644
--- a/classes/phing/system/io/FileOutputStream.php
+++ b/classes/phing/system/io/FileOutputStream.php
@@ -42,6 +42,7 @@ class FileOutputStream extends OutputStream {
* @throws IOExc... | Fix exception in phing error handling
Fix for:
[Notice] Undefined variable: php_errormsg (@line <I> in file phing/classes/phing/system/io/FileOutputStream.php). | phingofficial_phing | train |
8602f49495555b5d5f68b612d2b9c7838cfa1b4c | diff --git a/plugins/org.eclipse.xtext.xbase/src/org/eclipse/xtext/xbase/typing/TypeConverter.java b/plugins/org.eclipse.xtext.xbase/src/org/eclipse/xtext/xbase/typing/TypeConverter.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext.xbase/src/org/eclipse/xtext/xbase/typing/TypeConverter.java
+++ b/plugins... | made CancelIndicator.NullImpl a constant | eclipse_xtext-extras | train |
5491e2cb0094e23ae6f63c4b11f483d4ad33df84 | diff --git a/graphene_django/filter/tests/test_fields.py b/graphene_django/filter/tests/test_fields.py
index <HASH>..<HASH> 100644
--- a/graphene_django/filter/tests/test_fields.py
+++ b/graphene_django/filter/tests/test_fields.py
@@ -2,7 +2,7 @@ from datetime import datetime
import pytest
-from graphene import Fi... | add test to show .reverse() not being perserved | graphql-python_graphene-django | train |
2f3982be2f5669ca054284ea497b04bb629e3219 | diff --git a/static.go b/static.go
index <HASH>..<HASH> 100644
--- a/static.go
+++ b/static.go
@@ -11,6 +11,10 @@ import (
func Static(directory string) Handler {
dir := http.Dir(directory)
return func(res http.ResponseWriter, req *http.Request, log *log.Logger) {
+ if req.Method != "GET" {
+ res.WriteHeader(ht... | Static assets should only be served for GET requests. | go-martini_martini | train |
5d11e75bfeb2678014f395713378d51ef69c44ee | diff --git a/test/www/jxcore/bv_tests/testThaliWifiInfrastructure.js b/test/www/jxcore/bv_tests/testThaliWifiInfrastructure.js
index <HASH>..<HASH> 100644
--- a/test/www/jxcore/bv_tests/testThaliWifiInfrastructure.js
+++ b/test/www/jxcore/bv_tests/testThaliWifiInfrastructure.js
@@ -35,14 +35,16 @@ test('#startListening... | Validations for received SSDP messages. | thaliproject_Thali_CordovaPlugin | train |
7997058d73650504d43fe1e71982a35e42692016 | diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go
index <HASH>..<HASH> 100644
--- a/pkg/features/kube_features.go
+++ b/pkg/features/kube_features.go
@@ -561,10 +561,10 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
// inherited features from apiextensio... | bump the CRD feature gates to GA and lock the defaults | kubernetes_kubernetes | train |
4377a9e19e995996f42fc655df0ba5d89fbad5ec | diff --git a/wikitextparser/table.py b/wikitextparser/table.py
index <HASH>..<HASH> 100644
--- a/wikitextparser/table.py
+++ b/wikitextparser/table.py
@@ -189,6 +189,7 @@ class Table(SubWikiText):
spans = type_to_spans[type_]
table_cells = []
table_attrs = []
+ attrs_match = None
... | table.py: Fix a bug in cells calculation when span is False | 5j9_wikitextparser | train |
0332a513ef22ccfd9822f11e4ce9fc48b104e203 | diff --git a/src/ossos-pipeline/ossos/gui/errorhandling.py b/src/ossos-pipeline/ossos/gui/errorhandling.py
index <HASH>..<HASH> 100644
--- a/src/ossos-pipeline/ossos/gui/errorhandling.py
+++ b/src/ossos-pipeline/ossos/gui/errorhandling.py
@@ -1,5 +1,8 @@
__author__ = "David Rusk <drusk@uvic.ca>"
+import os
+
+import... | Added function for downloading a new CADC certificate given the
username and password. | OSSOS_MOP | train |
eae1c4229b4e414399281a55acd9c0b4d0514994 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,12 @@
#Changelog
All Notable changes to `League\Csv` will be documented in this file
+## 7.0.1 - 2015-03-XX
+
+### Fixed
+
+- `setFlags`: `SplFileObject::DROP_NEW_LINE` can be remove using `setFlags... | bug fix DROP_NEW_LINE can be removed with setFlags | thephpleague_csv | train |
4ed63e38cfdcf515755dc672db5377de9c46f322 | diff --git a/dropwizard-http2/src/main/java/io/dropwizard/http2/Http2ConnectorFactory.java b/dropwizard-http2/src/main/java/io/dropwizard/http2/Http2ConnectorFactory.java
index <HASH>..<HASH> 100644
--- a/dropwizard-http2/src/main/java/io/dropwizard/http2/Http2ConnectorFactory.java
+++ b/dropwizard-http2/src/main/java/... | Use instrumenting provider for Jetty <I>
Dropwizard Metrics doesn't support Jetty <I>, so we are forced
to use our own implementation of an insrumented connection factory.
Jetty Connection Factory public | dropwizard_dropwizard | train |
0eda029f44643802f6c25c420ae98d9214da87c0 | diff --git a/metadata.go b/metadata.go
index <HASH>..<HASH> 100644
--- a/metadata.go
+++ b/metadata.go
@@ -877,14 +877,17 @@ func (fm *ForceMetadata) Deploy(files ForceMetadataFiles, options ForceDeployOpt
zipfile := new(bytes.Buffer)
zipper := zip.NewWriter(zipfile)
for name, data := range files {
- fname := fi... | fixed nasty bug with path separator for zip files on windows. | ForceCLI_force | train |
4efdcb0dc0e99efb7942d949470cd317774800aa | diff --git a/lib/Client.js b/lib/Client.js
index <HASH>..<HASH> 100644
--- a/lib/Client.js
+++ b/lib/Client.js
@@ -135,21 +135,37 @@ Client.prototype.mergeRemoteConfig = function(callback) {
};
-Client.prototype.getCurrentTenant = function getCurrentTenant(/* [options,] callback */) {
+/**
+ * @callback getCurrent... | Refactoring Client.getCurrentTenant().
It now has proper JSdocs, simpler codez, and some improved styling. | stormpath_stormpath-sdk-node | train |
4463f353755ccd1fee2513954108a639380e534f | diff --git a/modeshape-jcr/src/main/java/org/modeshape/jcr/query/lucene/LuceneQueryFactory.java b/modeshape-jcr/src/main/java/org/modeshape/jcr/query/lucene/LuceneQueryFactory.java
index <HASH>..<HASH> 100644
--- a/modeshape-jcr/src/main/java/org/modeshape/jcr/query/lucene/LuceneQueryFactory.java
+++ b/modeshape-jcr/sr... | MODE-<I> - Fixed parsing of leading wildcards | ModeShape_modeshape | train |
bcba1399c5810fe4a193511b726c9ab1fc9b208a | diff --git a/src/Composer/Repository/PlatformRepository.php b/src/Composer/Repository/PlatformRepository.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/PlatformRepository.php
+++ b/src/Composer/Repository/PlatformRepository.php
@@ -162,7 +162,7 @@ class PlatformRepository extends ArrayRepository
... | support libressl
closes #<I> | composer_composer | train |
2b1d524ab6363b9dcf24e807bb3cb15949bccd51 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,8 @@ packages = [libname+p for p in ['', '.widgets', '.widgets.externalshell',
+['spyderplugins']
extensions = ('.qm', '.api', '.svg', '.png',
'.html', '.js', '', '.inv', '.txt', '.css',... | spyderplugins: added support for spyderlib.config.get_icon (added 'images' directory to Spyder's image path) | spyder-ide_spyder | train |
c2bccf0825d5f37c1579ac2462151864941f578c | diff --git a/Datagram/Socket.php b/Datagram/Socket.php
index <HASH>..<HASH> 100644
--- a/Datagram/Socket.php
+++ b/Datagram/Socket.php
@@ -11,32 +11,32 @@ class Socket extends EventEmitter
{
protected $loop;
protected $socket;
- protected $address;
public $bufferSize = 65536;
- public function... | Retrieve address from socket instead of passing it | reactphp_datagram | train |
a42c24fce709a25993d28c6cdf4862c2081f5a09 | diff --git a/lib/cobweb.rb b/lib/cobweb.rb
index <HASH>..<HASH> 100644
--- a/lib/cobweb.rb
+++ b/lib/cobweb.rb
@@ -180,6 +180,7 @@ class Cobweb
content[:character_set] = charset
end
content[:length] = response.content_length
+ content[:text_content] = text_content?(content[:m... | added :text_content to content | stewartmckee_cobweb | train |
2fbf53ec7b61fbb3363358816a8b0e3476437deb | diff --git a/tools/c7n_salactus/c7n_salactus/worker.py b/tools/c7n_salactus/c7n_salactus/worker.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_salactus/c7n_salactus/worker.py
+++ b/tools/c7n_salactus/c7n_salactus/worker.py
@@ -788,12 +788,12 @@ def get_key_visitors(account_info):
for v in account_info.get('visitor... | tools/c7n_salactus - rename visitor's 'name' attribute to avoid collision with base class. (#<I>) | cloud-custodian_cloud-custodian | train |
caec1821ddd6064864ad65230b4cbb502d186f3c | diff --git a/src/Sylius/Bundle/ProductBundle/Form/DataTransformer/ProductVariantToProductOptionsTransformer.php b/src/Sylius/Bundle/ProductBundle/Form/DataTransformer/ProductVariantToProductOptionsTransformer.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/ProductBundle/Form/DataTransformer/ProductVariantToProd... | Fix #<I>: throw exception if variant is not found
Symfony Validation does the rest, and a beautiful <I> is returned and handled by the form JS | Sylius_Sylius | train |
10221ac2ae0601d24b2061a54b051bd7aff1e883 | diff --git a/src/CartItem.php b/src/CartItem.php
index <HASH>..<HASH> 100644
--- a/src/CartItem.php
+++ b/src/CartItem.php
@@ -282,7 +282,9 @@ class CartItem
{
$amount = 0;
- if (app('laracart')->findCoupon($this->code)) {
+ if($this->coupon) {
+ $amount = $this->coupon->forItem... | No longer have to put the discount amount on the item , it can detect that too | lukepolo_laracart | train |
3193de0906a2cd961d5f40de960b3caf530db29b | diff --git a/src/ol/PluggableMap.js b/src/ol/PluggableMap.js
index <HASH>..<HASH> 100644
--- a/src/ol/PluggableMap.js
+++ b/src/ol/PluggableMap.js
@@ -54,7 +54,7 @@ import {create as createTransform, apply as applyTransform} from './transform.js
/**
- * @typedef {function(PluggableMap, ?FrameState): boolean} PostR... | Only schedule the icon cache expire when it's needed | openlayers_openlayers | train |
5ae93327e314d3816e103606c735108307c8e5ea | diff --git a/wsapi.go b/wsapi.go
index <HASH>..<HASH> 100644
--- a/wsapi.go
+++ b/wsapi.go
@@ -379,9 +379,6 @@ func (s *Session) event(messageType int, message []byte) (err error) {
}
}
return
- if s.OnMessageUpdate != nil {
- return
- }
case "MESSAGE_DELETE":
stateEnabled := s.StateEnabled && s.Stat... | Removed unreachable (and unneeded) code. | bwmarrin_discordgo | train |
79fe41b24d3f074271c2eb3858503d8a2998c63d | diff --git a/metator/align.py b/metator/align.py
index <HASH>..<HASH> 100644
--- a/metator/align.py
+++ b/metator/align.py
@@ -156,27 +156,27 @@ def pairs_alignment(
"""
# Counting reads forward and reverse reads
- total_reads_forward = 0
- with mio.read_compressed(for_fq_in) as inf:
- for _ in... | Remove read size to compute the coverage. | koszullab_metaTOR | train |
5276ad8a2612075da8d07f2c0635e731c17791d5 | diff --git a/app/public/scripts/resultsCtrl.js b/app/public/scripts/resultsCtrl.js
index <HASH>..<HASH> 100644
--- a/app/public/scripts/resultsCtrl.js
+++ b/app/public/scripts/resultsCtrl.js
@@ -309,7 +309,7 @@ app.controller('ResultsCtrl', function ($scope) {
$scope.phantomasResults.metrics.cssOld... | Version problem with css-analyze | gmetais_YellowLabTools | train |
b467bf3be7ad6e2058977930ed8854c2445e8726 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -52,9 +52,29 @@ class Configuration implements ConfigurationInterface
->arrayNode('default_co... | [DependencyInjection] Allow integer "safe" commit option and add validation | doctrine_DoctrineMongoDBBundle | train |
b4df9dcafbea2d50822d2aa7d9af69ae17d9497c | diff --git a/example/settings.py b/example/settings.py
index <HASH>..<HASH> 100644
--- a/example/settings.py
+++ b/example/settings.py
@@ -76,6 +76,7 @@ INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
+ 'django.contrib.sites',
'django.contrib.ad... | Adding sites framework to example project. | gregmuellegger_django-autofixture | train |
2b4e22b3d19622185afa2b4eb7c289f14141a9f6 | diff --git a/src/lolex-src.js b/src/lolex-src.js
index <HASH>..<HASH> 100644
--- a/src/lolex-src.js
+++ b/src/lolex-src.js
@@ -359,7 +359,7 @@
if (method === "hrtime" && target.process) {
target.process.hrtime = clock[installedHrTime];
} else {
- if (target[meth... | Incorporate test from PR #<I> | sinonjs_lolex | train |
b649d82d4d5444974352c140866ec3927457be26 | diff --git a/test-node/treeShaking/treeShaking.test.js b/test-node/treeShaking/treeShaking.test.js
index <HASH>..<HASH> 100644
--- a/test-node/treeShaking/treeShaking.test.js
+++ b/test-node/treeShaking/treeShaking.test.js
@@ -32,7 +32,7 @@ describe('tree shaking', function () {
it('should apply tree-shaking when ... | Larger timeout for tree-shaking unit test | josdejong_mathjs | train |
042ebe2a20ef1c09d8c2da1c471a0fc791de57ea | diff --git a/safe/impact_functions/volcanic/volcano_population_evacuation_polygon_hazard.py b/safe/impact_functions/volcanic/volcano_population_evacuation_polygon_hazard.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/volcanic/volcano_population_evacuation_polygon_hazard.py
+++ b/safe/impact_functions/volcan... | Updated the volcano evecuation IF | inasafe_inasafe | train |
25d98370b8338b9bd95f713cd2c42f60bb335402 | diff --git a/dataviews/tests/testboundingregion.py b/dataviews/tests/testboundingregion.py
index <HASH>..<HASH> 100644
--- a/dataviews/tests/testboundingregion.py
+++ b/dataviews/tests/testboundingregion.py
@@ -3,6 +3,8 @@ Test cases for boundingregion
"""
import unittest
+
+import utils # pyflakes:ignore (set sys.... | Fixed dataviews imports in tests for independent test runs | pyviz_holoviews | train |
da39fdc47092550dcda26e7499c5366ad8746d6d | diff --git a/src/JsonApi/Schema/Link/AbstractLinks.php b/src/JsonApi/Schema/Link/AbstractLinks.php
index <HASH>..<HASH> 100644
--- a/src/JsonApi/Schema/Link/AbstractLinks.php
+++ b/src/JsonApi/Schema/Link/AbstractLinks.php
@@ -53,6 +53,29 @@ abstract class AbstractLinks
return $links;
}
+ /**
+ *... | Move getter and setter for links from DocumentLinks to AbstractLinks | woohoolabs_yin | train |
71498fe9f4392775479b7b07c4faab8b4b743151 | diff --git a/lib/Controller/Data/Array.php b/lib/Controller/Data/Array.php
index <HASH>..<HASH> 100644
--- a/lib/Controller/Data/Array.php
+++ b/lib/Controller/Data/Array.php
@@ -48,7 +48,9 @@ class Controller_Data_Array extends Controller_Data{
if(!$data || $data===undefined)$data=array();
parent::se... | Should initially calculate max_id in special case | atk4_atk4 | train |
4d2d2cabb9b0dcaa16ffd17e6d53a745740f3468 | diff --git a/etcdserver/consistent_index.go b/etcdserver/consistent_index.go
index <HASH>..<HASH> 100644
--- a/etcdserver/consistent_index.go
+++ b/etcdserver/consistent_index.go
@@ -14,12 +14,20 @@
package etcdserver
+import (
+ "sync/atomic"
+)
+
// consistentIndex represents the offset of an entry in a consist... | etcdserver: fix race on consistent index | etcd-io_etcd | train |
5a876b457ffc88179e2bf94a54d768a4753cb480 | diff --git a/src/scripts/hubot-phrases.js b/src/scripts/hubot-phrases.js
index <HASH>..<HASH> 100644
--- a/src/scripts/hubot-phrases.js
+++ b/src/scripts/hubot-phrases.js
@@ -91,6 +91,9 @@ module.exports = function Plugin (robot) {
};
}
save () {
+ if (!robot.brain.data.phrases) {
+ robot.b... | Bug Fix: Initialize phrases brain if isn't defined | halkeye_hubot-phrases | train |
acf6ab17dd6f17a6713a7d197136d6203ad8c47b | diff --git a/spyderlib/ipythonconfig.py b/spyderlib/ipythonconfig.py
index <HASH>..<HASH> 100644
--- a/spyderlib/ipythonconfig.py
+++ b/spyderlib/ipythonconfig.py
@@ -9,10 +9,19 @@ IPython configuration variables needed by Spyder
"""
from spyderlib.utils import programs
+from spyderlib import dependencies
+from spy... | Move IPython dependencies from spyder.py to ipythonconfig.py
Given that we always import from ipythonconfig to verify if the IPython.qt
module is installed, those dependencies will be always registered. | spyder-ide_spyder | train |
6a480643ccde7b5f8ab86c680b12571509fc627c | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -109,6 +109,15 @@ describe('Phantasma', function () {
fs.existsSync(path).should.be.true;
});
});
+
+ it('should extract h1 as image', function () {
+ var path = 'test/... | Added extractDomElement test method
Testing the extractDomElement() it should save an image in temp folder named h1.png | petecoop_phantasma | train |
11c34d8ef44b95b3989cb8376af09842293c892c | diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -95,7 +95,7 @@ module ActiveRecord
#
# private
# def delete_parents... | Replaced usage of where.delete/destroy_all with delete/destroy_by | rails_rails | train |
b870ad70b32e289c40b83612ffc70a93253fe0a3 | diff --git a/src/Sulu/Bundle/MediaBundle/Controller/WebsiteMediaController.php b/src/Sulu/Bundle/MediaBundle/Controller/WebsiteMediaController.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/MediaBundle/Controller/WebsiteMediaController.php
+++ b/src/Sulu/Bundle/MediaBundle/Controller/WebsiteMediaController.php
@... | fix downloadcounter time problem with DQL query | sulu_sulu | train |
4a621c74288ccdb7eff2613b456dd3e1f83f50a3 | diff --git a/src/Yosymfony/Toml/TomlBuilder.php b/src/Yosymfony/Toml/TomlBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Yosymfony/Toml/TomlBuilder.php
+++ b/src/Yosymfony/Toml/TomlBuilder.php
@@ -134,7 +134,7 @@ class TomlBuilder
*
* @return TomlBuilder
*/
- public function addTables($key)
+ ... | Renamed addTables method to addArrayTables | yosymfony_toml | train |
8a0ac6c8f7b95effe92e598db769839833463fd0 | diff --git a/guava/src/com/google/common/collect/Interners.java b/guava/src/com/google/common/collect/Interners.java
index <HASH>..<HASH> 100644
--- a/guava/src/com/google/common/collect/Interners.java
+++ b/guava/src/com/google/common/collect/Interners.java
@@ -38,9 +38,7 @@ public final class Interners {
/**
*... | Update documentation for Interners.
Since Java 7, the String.intern() does not allocate the strings in permgen, but instead on the heap (in a table whose bucket size is configurable using XX:StringTableSize).
See <URL> | google_guava | train |
c7f9876eb742c06aedc276b787470f1b48c5929f | diff --git a/website/src/data/components/calendar/mapper.js b/website/src/data/components/calendar/mapper.js
index <HASH>..<HASH> 100644
--- a/website/src/data/components/calendar/mapper.js
+++ b/website/src/data/components/calendar/mapper.js
@@ -12,7 +12,10 @@ import { settingsMapper } from '../../../lib/settings'
... | fix(website): update imports from @nivo/calendar | plouc_nivo | train |
e5eba70d86cf9abc46d186c440bfd01d89e07086 | diff --git a/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js b/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js
+++ b/app/assets/javascripts/govuk... | Add scroll tracking for brexit child taxon pages in welsh | alphagov_govuk_publishing_components | train |
1b3d4c61b7411632c0c0f9bd210889d71a463b68 | diff --git a/tests/testcpu.py b/tests/testcpu.py
index <HASH>..<HASH> 100644
--- a/tests/testcpu.py
+++ b/tests/testcpu.py
@@ -1,15 +1,17 @@
+import unittest
+
import numpy
import sharedmem
import time
-with sharedmem.Pool() as pool:
+with sharedmem.MapReduce() as pool:
def work(i):
time.sleep(0.2)
... | use MapReduce as the name. | rainwoodman_sharedmem | train |
7d76474e5da6c1c06eb831fe436f12591cca4339 | diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index <HASH>..<HASH> 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -74,13 +74,13 @@ class AppGeneratorTest < Rails::Generators::TestCase
d... | Debrittlize tests somewhat - fix for CI build | rails_rails | train |
907db4a2244f8f909309b00212f618ee372d249f | diff --git a/src/org/kocakosm/pitaya/util/SystemProperties.java b/src/org/kocakosm/pitaya/util/SystemProperties.java
index <HASH>..<HASH> 100644
--- a/src/org/kocakosm/pitaya/util/SystemProperties.java
+++ b/src/org/kocakosm/pitaya/util/SystemProperties.java
@@ -63,9 +63,6 @@ public final class SystemProperties
/** J... | [#<I>] Removed JAVA_COMPILER and JAVA_EXT_DIRS from SystemProperties as they are no more available in newer versions of Java | kocakosm_pitaya | train |
c73d56faffc1ff5fb86069b22588763d117e8e0b | diff --git a/src/cmdtree/registry.py b/src/cmdtree/registry.py
index <HASH>..<HASH> 100644
--- a/src/cmdtree/registry.py
+++ b/src/cmdtree/registry.py
@@ -12,6 +12,6 @@ class ENV(object):
"""
self.silent_exit = True
self.tree = None
- self.entry = lambda *args, **kwargs: self.tree.root... | Fix: Bug fix for registry and _get_cmd_path
1. entry function should allow None value for args and namespace.
2. _get_cmd_path should always return new value instead append
value to old list to prevent side-effect that may cause sub-command
does not works as expected. | winkidney_cmdtree | train |
40f67cff615f18d0ad7db79852324dea11cc0658 | diff --git a/lib/foodcritic/linter.rb b/lib/foodcritic/linter.rb
index <HASH>..<HASH> 100644
--- a/lib/foodcritic/linter.rb
+++ b/lib/foodcritic/linter.rb
@@ -9,7 +9,7 @@ module FoodCritic
# The default version that will be used to determine relevant rules. This
# can be over-ridden at the command line with... | Make <I> the default.
This gives us powershell_package and msu_package knowledge | Foodcritic_foodcritic | train |
8c7b0539b862e9964a9f07ff8827a24a35e7c610 | diff --git a/src/main/java/org/cactoos/iterable/Mapped.java b/src/main/java/org/cactoos/iterable/Mapped.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/cactoos/iterable/Mapped.java
+++ b/src/main/java/org/cactoos/iterable/Mapped.java
@@ -33,8 +33,8 @@ import org.cactoos.Func;
* @param <X> Type of source item... | (#<I>) Qulice compliance | yegor256_cactoos | train |
62f597741f5068956af6764d1afd030e1fa92b38 | diff --git a/lojix/aima/src/unittests/com/thesett/aima/logic/fol/BasicResolverUnitTestBase.java b/lojix/aima/src/unittests/com/thesett/aima/logic/fol/BasicResolverUnitTestBase.java
index <HASH>..<HASH> 100644
--- a/lojix/aima/src/unittests/com/thesett/aima/logic/fol/BasicResolverUnitTestBase.java
+++ b/lojix/aima/src/u... | Added failing test case for bug where variable in a functor binds to the functor top-level instead of its argument in a clause head. | rupertlssmith_lojix | train |
2036de03759553b7762b407a64bfdd42701f7098 | diff --git a/examples/interactions/prevent_user_zooming_or_panning_too_far.py b/examples/interactions/prevent_user_zooming_or_panning_too_far.py
index <HASH>..<HASH> 100644
--- a/examples/interactions/prevent_user_zooming_or_panning_too_far.py
+++ b/examples/interactions/prevent_user_zooming_or_panning_too_far.py
@@ -1... | Update with more examples
example where
- bounds are poorly configured
- plot with multiple ranges | bokeh_bokeh | train |
9c13e041e3e5170605f80ad2eaac45b43dbe19d6 | diff --git a/src/ol/xml.js b/src/ol/xml.js
index <HASH>..<HASH> 100644
--- a/src/ol/xml.js
+++ b/src/ol/xml.js
@@ -171,7 +171,7 @@ export function makeArrayPusher(valueReader, opt_this) {
function(node, objectStack) {
const value = valueReader.call(opt_this !== undefined ? opt_this : this, node, objectStack... | Add missing typecast in ol/xml | openlayers_openlayers | train |
d55f36ad4601343e5b4ea93548785f72ae3c5f14 | diff --git a/client/vendor/plugins/medium-editor/scripts/medium-editor.js b/client/vendor/plugins/medium-editor/scripts/medium-editor.js
index <HASH>..<HASH> 100644
--- a/client/vendor/plugins/medium-editor/scripts/medium-editor.js
+++ b/client/vendor/plugins/medium-editor/scripts/medium-editor.js
@@ -2833,6 +2833,7 @@... | Fix line break in compose editor, refs #<I> | cozy_cozy-emails | train |
f79faa78c038343905000b3594be39f092d87eed | diff --git a/arcrest/admin/cmdline.py b/arcrest/admin/cmdline.py
index <HASH>..<HASH> 100644
--- a/arcrest/admin/cmdline.py
+++ b/arcrest/admin/cmdline.py
@@ -171,17 +171,6 @@ def createservice(action):
new_json = json.dumps(config_json)
result_object = publish_tool(id, new_json, "")
... | PublishingTools now automatically remove the uploaded sd | jasonbot_arcrest | train |
087bc0f96958cefe2937923df5ff712dc4c9f7f6 | diff --git a/astrocats/scripts/webcat.py b/astrocats/scripts/webcat.py
index <HASH>..<HASH> 100755
--- a/astrocats/scripts/webcat.py
+++ b/astrocats/scripts/webcat.py
@@ -941,6 +941,51 @@ for fcnt, eventfile in enumerate(tq(sorted(files, key=lambda s: s.lower()))):
indye = set(indb).intersection(indt).... | ENH: hide glyphs for photometry | astrocatalogs_astrocats | train |
ae1bf51a99bd2b6c8382f0a3b777b0eef7d39b5b | diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/views.py
+++ b/openquake/calculators/views.py
@@ -239,6 +239,7 @@ def view_params(token, dstore):
'ses_per_logic_tree_path', 'truncation_level',
'rupture_mes... | adding pointsource_distance to view_params so that it appears in report.rst
Former-commit-id: <I>fefb<I>e<I>a<I>b9b<I>e<I>d<I>a<I> | gem_oq-engine | train |
9c236fefd6f1db644aaad10c5ee17b44e92122cd | diff --git a/src/Installer.php b/src/Installer.php
index <HASH>..<HASH> 100644
--- a/src/Installer.php
+++ b/src/Installer.php
@@ -110,7 +110,6 @@ class Installer extends LibraryInstaller
$destPath = $destStandardsBasePath . DIRECTORY_SEPARATOR . $sourceStandard->getName();
$filesystem->mirror... | TASK: Remove unnecessary newline while printing to stdout | higidi_composer-phpcodesniffer-standards-plugin | train |
edf0e1e742da69a5030c5c89fe8aa312309d56f4 | diff --git a/lib/Thelia/Core/Template/Loop/Cart.php b/lib/Thelia/Core/Template/Loop/Cart.php
index <HASH>..<HASH> 100755
--- a/lib/Thelia/Core/Template/Loop/Cart.php
+++ b/lib/Thelia/Core/Template/Loop/Cart.php
@@ -102,6 +102,7 @@ class Cart extends BaseLoop
->set("TAXED_PRICE", $cartItem->getTaxedPric... | Add "PRODUCT_SALE_ELEMENTS_ID" on loop output | thelia_core | train |
b1bc2b9f1c2962732fc48be7d137a35e187f7ce4 | diff --git a/src/htmlToAbsoluteUrls.js b/src/htmlToAbsoluteUrls.js
index <HASH>..<HASH> 100644
--- a/src/htmlToAbsoluteUrls.js
+++ b/src/htmlToAbsoluteUrls.js
@@ -3,6 +3,10 @@ const urls = require('posthtml-urls')
const absoluteUrl = require("./absoluteUrl");
module.exports = function(htmlContent, base) {
+ if( !b... | Add error if base is not in play. | 11ty_eleventy-plugin-rss | train |
d06854d64adbaa35e58252ea378b2e3662c62e73 | diff --git a/bosh-director/lib/bosh/director/api/task_helper.rb b/bosh-director/lib/bosh/director/api/task_helper.rb
index <HASH>..<HASH> 100644
--- a/bosh-director/lib/bosh/director/api/task_helper.rb
+++ b/bosh-director/lib/bosh/director/api/task_helper.rb
@@ -2,7 +2,7 @@
module Bosh::Director
module Api
- m... | Turn the TaskHelper mix-in into a class | cloudfoundry_bosh | train |
3fe066f0fa1b6b0de2e3807c3c1eb868a7f16ad2 | diff --git a/spyderlib/widgets/externalshell/baseshell.py b/spyderlib/widgets/externalshell/baseshell.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/externalshell/baseshell.py
+++ b/spyderlib/widgets/externalshell/baseshell.py
@@ -229,6 +229,13 @@ class ExternalShellBase(QWidget):
if ask_for_arguments ... | External Console: Disconnect signals from kill and terminate buttons before creating a new process
Fixes issue <I>
- This was slowing down creating a new process after several times of killing
the previous one. | spyder-ide_spyder | train |
401ed943a491e668ee9f5653ccbb551979a31ece | diff --git a/meshio/exodus_io.py b/meshio/exodus_io.py
index <HASH>..<HASH> 100644
--- a/meshio/exodus_io.py
+++ b/meshio/exodus_io.py
@@ -58,6 +58,7 @@ exodus_to_meshio_type = {
'TETRA14': 'tetra14',
#
'PYRAMID': 'pyramid',
+ 'WEDGE': 'wedge'
}
meshio_to_exodus_type = {v: k for k, v in exodus_t... | Add support for wedge elements in ExodusII | nschloe_meshio | train |
07d109fe95f3d1a99cc839bea5b05d72aacb7bf5 | diff --git a/concurrent_map.go b/concurrent_map.go
index <HASH>..<HASH> 100644
--- a/concurrent_map.go
+++ b/concurrent_map.go
@@ -113,6 +113,8 @@ type Tuple struct {
}
// Returns an iterator which could be used in a for range loop.
+//
+// Deprecated: using IterBuffered() will get a better performence
func (m Con... | using IterBuffered instead of Iter can get better performence | orcaman_concurrent-map | train |
fdfb5e70a5af707830a766e1c3ea3805996f0183 | diff --git a/nominatim/nominatim.py b/nominatim/nominatim.py
index <HASH>..<HASH> 100644
--- a/nominatim/nominatim.py
+++ b/nominatim/nominatim.py
@@ -12,10 +12,12 @@ import json
import logging
import sys
if sys.version_info.major == 2:
- import urllib2
+ from urllib2 import urlopen
+ from urllib2 import UR... | Fix URLError (python3) and add test for invalid server url, including logging | damianbraun_nominatim | train |
78fb6b21de9a3d89ea1ce83e9ebed34d5cc7b55b | diff --git a/ruby/server/test/t_writebehind.rb b/ruby/server/test/t_writebehind.rb
index <HASH>..<HASH> 100755
--- a/ruby/server/test/t_writebehind.rb
+++ b/ruby/server/test/t_writebehind.rb
@@ -21,7 +21,7 @@ class FileWriterTest < Test::Unit::TestCase
@stats.address = 'roma0'
@stats.port = 11211
- @log ... | don't log to STDOUT. | roma_roma | train |
c193107fdc607ca9ecab42b7f266543fdda8ca2a | diff --git a/src/cache.js b/src/cache.js
index <HASH>..<HASH> 100644
--- a/src/cache.js
+++ b/src/cache.js
@@ -12,7 +12,6 @@ export function getEntry(target, key) {
entry = {
state: 0,
value: undefined,
- invalid: undefined,
deps: undefined,
checksum: undefined,
};
@@ -42,11 +... | fix(cache): prevent multiple get call after invalidate | hybridsjs_hybrids | train |
0284826a45ec005038933d9d49597f6bf09c2b86 | diff --git a/lib/Compilation.js b/lib/Compilation.js
index <HASH>..<HASH> 100644
--- a/lib/Compilation.js
+++ b/lib/Compilation.js
@@ -979,7 +979,7 @@ class Compilation extends Tapable {
chunk = chunks[i];
const chunkHash = crypto.createHash(hashFunction);
if(outputOptions.hashSalt)
- hash.update(outputO... | update chunkhash instead of main hash in chunk hashing loop | webpack_webpack | train |
17ab43c33f2cc2e8334208f98fae36474da4f922 | diff --git a/src/Silverpop/EngagePod.php b/src/Silverpop/EngagePod.php
index <HASH>..<HASH> 100644
--- a/src/Silverpop/EngagePod.php
+++ b/src/Silverpop/EngagePod.php
@@ -290,7 +290,7 @@ class EngagePod {
"VALUE" => $columns[$key],
);
}
- $data["Envelope"]["Body"]["SelectRecipeie... | fixed typo on line <I> of EngagePod.php | simpleweb_SilverpopPHP | train |
0d88291d29b33e557cddaf0fcb8b3553b66d7abb | diff --git a/lib/middleware/client.js b/lib/middleware/client.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/client.js
+++ b/lib/middleware/client.js
@@ -90,7 +90,7 @@ module.exports = function(ClientModel) {
return Promise.reject(new UnauthorizedError());
}
- ... | revert clientMiddleware - bind client model to express request object | BohemiaInteractive_bi-service | train |
92afc5fab96a3b548a95c61239816306cbf9b2a2 | diff --git a/src/main/java/org/gitlab4j/api/CommitsApi.java b/src/main/java/org/gitlab4j/api/CommitsApi.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/gitlab4j/api/CommitsApi.java
+++ b/src/main/java/org/gitlab4j/api/CommitsApi.java
@@ -221,7 +221,7 @@ public class CommitsApi extends AbstractApi {
... | Chaged response status to CREATED for addComment() (#<I>). | gmessner_gitlab4j-api | train |
04997d5f61fec1979f0ae47b15211ad9b1d8b0cc | diff --git a/port.js b/port.js
index <HASH>..<HASH> 100644
--- a/port.js
+++ b/port.js
@@ -71,7 +71,7 @@ Port.prototype.spawn = function(){
};
Port.prototype.isRunning = function(){
- return (!!this.child && !this.child.killed) || false;
+ return (!!this.child && !this.child.killed && !!this.sender && this.sender.w... | supports Port.isRunning (#7) | thisconnect_port | train |
065fff06cfa068d50539fab9eff7903ab2a944f7 | diff --git a/chef/lib/chef/cookbook/syntax_check.rb b/chef/lib/chef/cookbook/syntax_check.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/cookbook/syntax_check.rb
+++ b/chef/lib/chef/cookbook/syntax_check.rb
@@ -109,7 +109,7 @@ class Chef
def validate_template(erb_file)
Chef::Log.debug("Testing tem... | CHEF-<I>, dont shell out to sh for running erubis | chef_chef | train |
5686367207c4d642ab120cca33c5c489c30cae34 | diff --git a/holoviews/plotting/sheetplots.py b/holoviews/plotting/sheetplots.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/sheetplots.py
+++ b/holoviews/plotting/sheetplots.py
@@ -415,9 +415,10 @@ class MatrixGridPlot(OverlayPlot):
def update_frame(self, n):
n = n if n < len(self) else len(sel... | Fixed updating of Overlays in MatrixGridPlot | pyviz_holoviews | train |
03dd4c689c6365e6d6c8e7f9a1bba56403e3d919 | diff --git a/coconut/compiler.py b/coconut/compiler.py
index <HASH>..<HASH> 100644
--- a/coconut/compiler.py
+++ b/coconut/compiler.py
@@ -83,7 +83,8 @@ import_as_var = "_coconut_import"
yield_from_var = "_coconut_yield_from"
yield_item_var = "_coconut_yield_item"
raise_from_var = "_coconut_raise_from"
-multiline_la... | Fixes multiline lambda closure | evhub_coconut | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.