hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
73fc6c58366c19e3ceec15e89f193398297c7f9c
diff --git a/sling/core/commons/src/main/java/com/composum/sling/cpnl/CpnlElFunctions.java b/sling/core/commons/src/main/java/com/composum/sling/cpnl/CpnlElFunctions.java index <HASH>..<HASH> 100644 --- a/sling/core/commons/src/main/java/com/composum/sling/cpnl/CpnlElFunctions.java +++ b/sling/core/commons/src/main/jav...
fix for the content link transformation in rich text properties
ist-dresden_composum
train
java
1a45db0fb7669e21a038d8faee4b761021b01760
diff --git a/salt/modules/win_dns_client.py b/salt/modules/win_dns_client.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_dns_client.py +++ b/salt/modules/win_dns_client.py @@ -45,7 +45,10 @@ def get_dns_servers(interface='Local Area Connection'): for iface in c.Win32_NetworkAdapter(NetEnabled=True): ...
Update win_dns_client.py If there is no dns address setted in the windows client, the iface_config.DNSServerSearchOrder method will return None, therefore this module will generate TypeError, 'NoneType' object is not iterable.
saltstack_salt
train
py
e49a011721c8cf8dc9a09071280fa7ecf4a6bf90
diff --git a/server.go b/server.go index <HASH>..<HASH> 100644 --- a/server.go +++ b/server.go @@ -180,6 +180,9 @@ func (s *Server) processPacket(b []byte, addr Addr) { } s.mu.Lock() defer s.mu.Unlock() + if s.closed.IsSet() { + return + } if d.Y == "q" { readQuery.Add(1) s.handleQuery(addr, d)
dht: Stop processing packet if server closes after unmarshalling
anacrolix_dht
train
go
5638adb16cd3f10bc587c249783715596b8a1bac
diff --git a/modules/quality-immutable-object/src/main/java/net/sf/qualitycheck/immutableobject/domain/Package.java b/modules/quality-immutable-object/src/main/java/net/sf/qualitycheck/immutableobject/domain/Package.java index <HASH>..<HASH> 100644 --- a/modules/quality-immutable-object/src/main/java/net/sf/qualitychec...
Added type definition to be able to query them in StringTemplate templates which have very limited conditionals
before_quality-check
train
java
63b8f3e059c9c9e96420c15d155400011de4effa
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,8 @@ import sys import distutils.errors import setuptools -if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000: - raise distutils.errors.DistutilsError("Python 2.4 or newer is required") +if not has...
Requires at least Python <I>
PyMySQL_mysqlclient-python
train
py
11d39125dee8da4551814129d304bfcf6a971c16
diff --git a/jsonapi.go b/jsonapi.go index <HASH>..<HASH> 100644 --- a/jsonapi.go +++ b/jsonapi.go @@ -103,7 +103,7 @@ type Vin struct { Txid string `json:"txid,omitempty"` Vout int `json:"vout,omitempty"` ScriptSig *ScriptSig `json:"scriptSig,omitempty"` - Sequence float64 `json:"sequenc...
The sequence num of a tx input is a uint<I>.
btcsuite_btcd
train
go
2e2d074566c9ce21c559d7b62eff2e4414a8d72d
diff --git a/tests/test_common.py b/tests/test_common.py index <HASH>..<HASH> 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -68,9 +68,8 @@ def test_normalization_by_one(left, right, alg): assert isclose(s + d, 1) -# TODO: fix 0-size strings @pytest.mark.parametrize('alg', ALGS) -@hypothesis....
fix normalized distance for empty strings. CLose #<I>
orsinium_textdistance
train
py,py
7b9fd1f9a1000d43a3d6372d0115dc83c75a237c
diff --git a/spyder_kernels/console/tests/test_console_kernel.py b/spyder_kernels/console/tests/test_console_kernel.py index <HASH>..<HASH> 100644 --- a/spyder_kernels/console/tests/test_console_kernel.py +++ b/spyder_kernels/console/tests/test_console_kernel.py @@ -27,7 +27,6 @@ import pytest from flaky import flaky ...
Remove deps on ipython_genutils It requires nose in test suite, that is not package on many linux distrib and should not be used anymore. Technically this change is a bit more conservative than what genutils was doing when trying to detect the default encoding, but that should not matter much now.
spyder-ide_spyder-kernels
train
py
37e4eaf5e3fa489bd0597f330ead0c3c11b9a091
diff --git a/condoor/version.py b/condoor/version.py index <HASH>..<HASH> 100644 --- a/condoor/version.py +++ b/condoor/version.py @@ -1,3 +1,3 @@ """Version information.""" -__version__ = '1.0.15' +__version__ = '1.0.16'
Bumping version number to <I>
kstaniek_condoor
train
py
cbe60067a9a657bcbd5d2f4546280471d30e24b2
diff --git a/packages/origin.js/src/resources/purchases.js b/packages/origin.js/src/resources/purchases.js index <HASH>..<HASH> 100644 --- a/packages/origin.js/src/resources/purchases.js +++ b/packages/origin.js/src/resources/purchases.js @@ -4,12 +4,18 @@ class Purchases { this.ipfsService = ipfsService } ...
Refactor out helper for calling contract functions
OriginProtocol_origin-js
train
js
a6cf314a0b3f453597ef84b03ac8b5c8e0f0d4b0
diff --git a/ledgerautosync/ledger.py b/ledgerautosync/ledger.py index <HASH>..<HASH> 100644 --- a/ledgerautosync/ledger.py +++ b/ledgerautosync/ledger.py @@ -81,7 +81,11 @@ class Ledger(object): self.t.daemon = True # thread dies with the program self.t.start() # read output unti...
add timeouts for reading prompts
egh_ledger-autosync
train
py
31cad9151aa2a7070e73bc53dc2d104fdce7e0c6
diff --git a/src/FontLib/AdobeFontMetrics.php b/src/FontLib/AdobeFontMetrics.php index <HASH>..<HASH> 100644 --- a/src/FontLib/AdobeFontMetrics.php +++ b/src/FontLib/AdobeFontMetrics.php @@ -139,7 +139,7 @@ class AdobeFontMetrics { $this->endSection("CharMetrics"); $kern = $font->getData("kern", "subtab...
Fixes a problem with php <I> This would fix the issue #<I>
PhenX_php-font-lib
train
php
b1bdcbe6db407d34ae1d9a35e85cf5d144b40b6e
diff --git a/rinoh/style.py b/rinoh/style.py index <HASH>..<HASH> 100644 --- a/rinoh/style.py +++ b/rinoh/style.py @@ -197,6 +197,10 @@ class SelectorWithPriority(Selector): return self.selector.get_style_name(matcher) @property + def selectors(self): + return (self, ) + + @property de...
Implement SelectorWithPriority.selectors The Selector class hierarchy can use some cleaning up.
brechtm_rinohtype
train
py
8c6f66a7ab5fcd69c64ad468d79238701a0fac70
diff --git a/imgaug/augmenters/meta.py b/imgaug/augmenters/meta.py index <HASH>..<HASH> 100644 --- a/imgaug/augmenters/meta.py +++ b/imgaug/augmenters/meta.py @@ -3830,8 +3830,8 @@ class Noop(Augmenter): super(Noop, self).__init__(name=name, deterministic=deterministic, rand...
Switch Noop to augment_batch() interface
aleju_imgaug
train
py
292011eac33e96c93cf6c01a1338c2f009e11f07
diff --git a/tests/test_pages.py b/tests/test_pages.py index <HASH>..<HASH> 100644 --- a/tests/test_pages.py +++ b/tests/test_pages.py @@ -11,7 +11,16 @@ except ImportError: import pytest from conftest import skip_if_pypy -from pikepdf import Array, Dictionary, Name, Page, Pdf, PdfMatrix, Stream +from pikepdf impor...
tests: mark test as passing newer qpdf versions
pikepdf_pikepdf
train
py
f8633e061c4198083aa3b8fdcb52840d33084660
diff --git a/test/model_test.rb b/test/model_test.rb index <HASH>..<HASH> 100644 --- a/test/model_test.rb +++ b/test/model_test.rb @@ -974,7 +974,7 @@ class ModelTest < Test::Unit::TestCase end context "Exporting" do - class Person < Ohm::Model + class Venue < Ohm::Model attribute :name de...
Fix build under <I>. Need to investigate if this is an issue in real-world apps or just in our test suite.
soveran_ohm
train
rb
ccf63acf80a9d881f40d1433166c7c7c44b067e8
diff --git a/service-catalog-ui/src/components/ServiceInstanceList/ServiceInstanceTable/ServiceInstanceRowRenderer.js b/service-catalog-ui/src/components/ServiceInstanceList/ServiceInstanceTable/ServiceInstanceRowRenderer.js index <HASH>..<HASH> 100644 --- a/service-catalog-ui/src/components/ServiceInstanceList/Service...
Remove forgotten testing assignment (#<I>)
kyma-project_console
train
js
6a1b583f1eb79bb24a5424337c171c0289f07f61
diff --git a/app/models/content.rb b/app/models/content.rb index <HASH>..<HASH> 100644 --- a/app/models/content.rb +++ b/app/models/content.rb @@ -46,6 +46,18 @@ class Content < ActiveRecord::Base end end + # Set the text filter for this object. + # NOTE: Due to how Rails injects association methods, this c...
Move #text_filter= override to where it will be picked up
publify_publify
train
rb,rb
d482aec18212730b92b623fccb0bc5303e8523d1
diff --git a/lib/searchkick/reindex.rb b/lib/searchkick/reindex.rb index <HASH>..<HASH> 100644 --- a/lib/searchkick/reindex.rb +++ b/lib/searchkick/reindex.rb @@ -17,7 +17,7 @@ module Searchkick # check if alias exists if Searchkick.client.indices.exists_alias(name: alias_name) # import before sw...
Expose searchkick_import and searchkick_index_options
ankane_searchkick
train
rb
72db25876961114b9eb4585eb0332b6424286702
diff --git a/tests/test_s3_calling_format.py b/tests/test_s3_calling_format.py index <HASH>..<HASH> 100644 --- a/tests/test_s3_calling_format.py +++ b/tests/test_s3_calling_format.py @@ -1,4 +1,5 @@ import boto +import inspect import os import pytest @@ -272,7 +273,15 @@ def test_cipher_suites(): # seems to b...
Test compatability with newer boto New Boto versions require a 'port' argument be supplied to get_http_connection.
wal-e_wal-e
train
py
8cd0d1fd9ad11e4da2f4d8b9c943704b809adc52
diff --git a/src/Type/AbstractPhpEnumType.php b/src/Type/AbstractPhpEnumType.php index <HASH>..<HASH> 100644 --- a/src/Type/AbstractPhpEnumType.php +++ b/src/Type/AbstractPhpEnumType.php @@ -41,7 +41,7 @@ abstract class AbstractPhpEnumType extends Type */ public function getSQLDeclaration(array $fieldDeclara...
Removed column comment from type SQL declaration. Some platforms supported by doctrine don't support comments (e.g sqlite, which I'm trying to use for integration tests). Looking into the primary doctrine column definitions it doesn't seem like doctrine uses comments anywhere. Seeing as the comment doesn't seem to ha...
acelaya_doctrine-enum-type
train
php,php
eeff63e15758b30a7ec0cfa8d37af68eb5519664
diff --git a/alphatwirl/concurrently/run.py b/alphatwirl/concurrently/run.py index <HASH>..<HASH> 100755 --- a/alphatwirl/concurrently/run.py +++ b/alphatwirl/concurrently/run.py @@ -140,8 +140,8 @@ def compose_result_path(package_path): ##__________________________________________________________________|| def store...
use with for file in run.py
alphatwirl_alphatwirl
train
py
8319e5db9fbf45d18f89881b3f2ba9cb361d878e
diff --git a/src/Elements/CssStore.js b/src/Elements/CssStore.js index <HASH>..<HASH> 100644 --- a/src/Elements/CssStore.js +++ b/src/Elements/CssStore.js @@ -1,4 +1,4 @@ -import {each, has} from '../lib/util'; +import {each} from '../lib/util'; function formatStyle(style) { @@ -46,8 +46,14 @@ export default class ...
Dev: Revert to use try catch #<I>
liriliri_eruda
train
js
6fb36ba6ca57dc7820ab9ce755632346f1ba760f
diff --git a/Library/Installation/Updater/Updater020500.php b/Library/Installation/Updater/Updater020500.php index <HASH>..<HASH> 100644 --- a/Library/Installation/Updater/Updater020500.php +++ b/Library/Installation/Updater/Updater020500.php @@ -12,6 +12,7 @@ namespace Claroline\CoreBundle\Library\Installation\Update...
[CoreBundle] added widget for the desktop
claroline_Distribution
train
php
940f1acb9897eb73ad6d57959c8de895afecbba9
diff --git a/anyconfig/mergeabledict.py b/anyconfig/mergeabledict.py index <HASH>..<HASH> 100644 --- a/anyconfig/mergeabledict.py +++ b/anyconfig/mergeabledict.py @@ -8,6 +8,9 @@ .. versionadded: 0.3.1 Added naive and partial implementation of JSON Pointer support +.. versionchanged: 0.5.0 + Convert collection...
fix: add a note about collections.namedtuple conversion
ssato_python-anyconfig
train
py
4bc36b751e0fe4b6a82d87a99bd73ac9ede71871
diff --git a/msm/skill_repo.py b/msm/skill_repo.py index <HASH>..<HASH> 100644 --- a/msm/skill_repo.py +++ b/msm/skill_repo.py @@ -74,7 +74,7 @@ class SkillRepo(object): def __init__(self, path=None, url=None, branch=None): self.path = path or "/opt/mycroft/.skills-repo" self.url = url or "https:...
Update default branch to <I>
MycroftAI_mycroft-skills-manager
train
py
2ff19db0274c39ec675ce5466a9151546ecd0ad3
diff --git a/addon/components/mobile/object-list-view-row.js b/addon/components/mobile/object-list-view-row.js index <HASH>..<HASH> 100644 --- a/addon/components/mobile/object-list-view-row.js +++ b/addon/components/mobile/object-list-view-row.js @@ -13,10 +13,21 @@ import ObjectListViewRowComponent from '../object-lis...
Docs object-list-view-row mobile
Flexberry_ember-flexberry
train
js
96e18d8710083e737f637f88b85801950ab3648e
diff --git a/lib/extract.js b/lib/extract.js index <HASH>..<HASH> 100644 --- a/lib/extract.js +++ b/lib/extract.js @@ -203,19 +203,19 @@ module.exports = function (grunt) { return key; } - function MissingContextException(item, collidingPoItem) { - this.item = item; + function MissingContex...
cleanup output of exception the item indeed is a po item and has references. The old behaviour was tailored to an older implementation of the fix.
Open-Xchange-Frontend_grunt-require-gettext
train
js
95ac461a290b80cb355ffab5d702cd3ddf3b77b0
diff --git a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go index <HASH>..<HASH> 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go +++ b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go @...
serviceOwnsFrontendIP shouldn't report error when the public IP doesn't match
kubernetes_kubernetes
train
go
78801ef32cdc8328cdfc70bc99b041868259f650
diff --git a/types/model.go b/types/model.go index <HASH>..<HASH> 100644 --- a/types/model.go +++ b/types/model.go @@ -1,5 +1,7 @@ package types +import "time" + // FunctionDeployment represents a request to create or update a Function. type FunctionDeployment struct { @@ -100,7 +102,9 @@ type FunctionStatus str...
Add CreatedAt to schema Enables contributors to proceed with changes for #<I> in the various back-ends
openfaas_faas-provider
train
go
fa4aca1b628eba16a2dff5d342cf43e2baba4216
diff --git a/lib/simple_notifications/base.rb b/lib/simple_notifications/base.rb index <HASH>..<HASH> 100644 --- a/lib/simple_notifications/base.rb +++ b/lib/simple_notifications/base.rb @@ -93,7 +93,7 @@ module SimpleNotifications raise 'SimpleNotification::SenderReceiverError' unless @@options[:sender] &...
Issue Fixed: receiver association can be singular
aashishgarg_simple_notifications
train
rb,rb
efd8c35841034625ff5365efc1abc9d34daecadb
diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py index <HASH>..<HASH> 100644 --- a/salt/modules/iptables.py +++ b/salt/modules/iptables.py @@ -818,6 +818,8 @@ def insert(table='filter', chain=None, position=None, rule=None, family='ipv4'): position = 1 wait = '--wait' if _has_option(...
Add Check to the Rule Check to see if the rule exists before insert
saltstack_salt
train
py
d075961591b04bb041824ab22de04128f0eafdd7
diff --git a/tests/settings.py b/tests/settings.py index <HASH>..<HASH> 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -29,7 +29,4 @@ INSTALLED_APPS = [ SITE_ID = 1 -if django.VERSION >= (1, 10): - MIDDLEWARE = () -else: - MIDDLEWARE_CLASSES = () +MIDDLEWARE = ()
Remove compat with Django <<I>
dbrgn_drf-dynamic-fields
train
py
44fff6e26bf8ab185b632bdaedcd4b7789a7c791
diff --git a/lib/ruby2d/window.rb b/lib/ruby2d/window.rb index <HASH>..<HASH> 100644 --- a/lib/ruby2d/window.rb +++ b/lib/ruby2d/window.rb @@ -38,16 +38,10 @@ module Ruby2D end def set(opts) - valid_keys = [:title, :width, :height] - valid_opts = opts.reject { |k| !valid_keys.include?(k) } - ...
Fix failing DSL test `set` must be able set a single window attribute without making others nil
ruby2d_ruby2d
train
rb
8c2ed05df5be6b48f5b93cc81410a3ed7fa6dd86
diff --git a/lib/read_concern.js b/lib/read_concern.js index <HASH>..<HASH> 100644 --- a/lib/read_concern.js +++ b/lib/read_concern.js @@ -29,10 +29,16 @@ class ReadConcern { } if (options.readConcern) { + if (options.readConcern instanceof ReadConcern) { + return options.readConcern; + } +...
refactor: improve robustness of `ReadConcern.fromOptions` We made some assumptions in this method about the existence of keys, as well as that no `readConcern` passed in would ever already be of the type we were looking to cast to.
mongodb_node-mongodb-native
train
js
6880072dd0d3b7ff3d7427f7ed6677f848cee03b
diff --git a/Python/ibmcloudsql/SQLQuery.py b/Python/ibmcloudsql/SQLQuery.py index <HASH>..<HASH> 100644 --- a/Python/ibmcloudsql/SQLQuery.py +++ b/Python/ibmcloudsql/SQLQuery.py @@ -857,7 +857,7 @@ class SQLQuery(COSClient, SQLBuilder, HiveMetastore): ) ) - if "resultset_location...
Fixing the previous improvement :-)
IBM-Cloud_sql-query-clients
train
py,py
c66ce6655a990f5d094b345b24d769ad478059c3
diff --git a/lib/magic_grid/html_grid.rb b/lib/magic_grid/html_grid.rb index <HASH>..<HASH> 100644 --- a/lib/magic_grid/html_grid.rb +++ b/lib/magic_grid/html_grid.rb @@ -149,7 +149,7 @@ module MagicGrid my_params = grid.base_params.merge(grid.param_key(:col) => id) default_sort_order = Order.from_param(g...
Remove conditional that is redundant with polymorphism
rmg_magic_grid
train
rb
37e96ba47160427800c27ab0b42feb98485a3217
diff --git a/src/AccordionItem/accordion-item.js b/src/AccordionItem/accordion-item.js index <HASH>..<HASH> 100644 --- a/src/AccordionItem/accordion-item.js +++ b/src/AccordionItem/accordion-item.js @@ -15,7 +15,7 @@ type AccordionItemProps = ElementProps<'div'> & { }; class AccordionItem extends Component<Accordio...
Remove async/await from accordion-item
springload_react-accessible-accordion
train
js
b9805efd99df7e21c8a9eba5fe5b1d19e6be843a
diff --git a/openstack_dashboard/karma.conf.js b/openstack_dashboard/karma.conf.js index <HASH>..<HASH> 100644 --- a/openstack_dashboard/karma.conf.js +++ b/openstack_dashboard/karma.conf.js @@ -46,7 +46,8 @@ module.exports = function (config) { // NOTE: the templates must also be listed in the files section bel...
Include JS from openstack_dashboard/**/static for code coverage Code coverage metrics in Horizon for openstack_dashboard do not include metrics from JS files in openstack_dashboard/**/static. Change-Id: I<I>c<I>e<I>e<I>ed<I>dfdeb<I>c8e<I> Closes-Bug: #<I>
openstack_horizon
train
js
4f610521dd97e8f2eda41af544ccebea85a91a95
diff --git a/src/Alaouy/Youtube/YoutubeServiceProvider.php b/src/Alaouy/Youtube/YoutubeServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Alaouy/Youtube/YoutubeServiceProvider.php +++ b/src/Alaouy/Youtube/YoutubeServiceProvider.php @@ -49,7 +49,7 @@ class YoutubeServiceProvider extends ServiceProvider $...
Changes to apply for <I> and higher Must easier fix for upcoming versions. Sorry to bother you twice.
alaouy_Youtube
train
php
b69d83bfd5237fe3a826418c1397101f98cdb96f
diff --git a/pysoundfile.py b/pysoundfile.py index <HASH>..<HASH> 100644 --- a/pysoundfile.py +++ b/pysoundfile.py @@ -662,9 +662,6 @@ class SoundFile(object): "Not allowed for existing files (except 'RAW'): " "samplerate, channels, format, subtype, endian") - if not c...
Don't throw exception if closefd is given for non-fd The documentation already mentions that closefd is only applicable if a file descriptor is used.
bastibe_SoundFile
train
py,py
80626843135fe39d35734f15261c0b3828d67abe
diff --git a/lib/emir/recipes/aiv/mask.py b/lib/emir/recipes/aiv/mask.py index <HASH>..<HASH> 100644 --- a/lib/emir/recipes/aiv/mask.py +++ b/lib/emir/recipes/aiv/mask.py @@ -110,16 +110,18 @@ def _centering_centroid_loop(data, center, box): # returns y,x def centering_centroid(data, center, box, nloop=10, told...
Return the center in the last iteration of recentering
guaix-ucm_pyemir
train
py
8b6661ee469b774f5a30d4a850e56c9a050a02c0
diff --git a/Generator/PHPFile.php b/Generator/PHPFile.php index <HASH>..<HASH> 100644 --- a/Generator/PHPFile.php +++ b/Generator/PHPFile.php @@ -195,14 +195,14 @@ class PHPFile extends File { $imports = []; if ($imported_classes) { - // Sort the imported classes. - natcasesort($imported_classes)...
Fixed sorting should happen after trimming.
drupal-code-builder_drupal-code-builder
train
php
11a4d2ef3a6aabeae2787d5aac79172c38897ec7
diff --git a/Schema/Grammars/MySqlGrammar.php b/Schema/Grammars/MySqlGrammar.php index <HASH>..<HASH> 100755 --- a/Schema/Grammars/MySqlGrammar.php +++ b/Schema/Grammars/MySqlGrammar.php @@ -14,7 +14,7 @@ class MySqlGrammar extends Grammar * @var array */ protected $modifiers = [ - 'VirtualAs', ...
[<I>] Make sure sql for virtual columns is added after the unsigned modifier (#<I>) * re-order * append unsigned modifier before virtual columns to prevent a sql syntax error
illuminate_database
train
php
f08221ccfebd5daa887bd7e482faef1b2abf62ce
diff --git a/tests/test_yaml.py b/tests/test_yaml.py index <HASH>..<HASH> 100644 --- a/tests/test_yaml.py +++ b/tests/test_yaml.py @@ -1,4 +1,5 @@ from __future__ import unicode_literals +import sys from config_loader.loader import ConfigLoader from config_loader.config import ConfigBaseWildcardDict @@ -70,7 +71,1...
do robust testing with python 2/3 compatibility
dropseed_configyaml
train
py
2572ef91d590c8644c1a309bfb8c08ca3baf4c1a
diff --git a/demo/index.php b/demo/index.php index <HASH>..<HASH> 100644 --- a/demo/index.php +++ b/demo/index.php @@ -33,6 +33,11 @@ if (!empty($_GET['input'])) { $feed->input_encoding($_GET['input']); } +// Allow us to snap into IHBB mode. +if (!empty($_GET['image'])) { + $feed->bypass_image_hotlink($_GET['image...
Allow us to snap the demo into "Image Hotlink Block Bypass" (IHBB) mode.
simplepie_simplepie
train
php
3edf8a2c7061f2c92d5d201406d72904db2f25d1
diff --git a/search.py b/search.py index <HASH>..<HASH> 100644 --- a/search.py +++ b/search.py @@ -151,9 +151,9 @@ def graph_search(problem, frontier): if problem.goal_test(node.state): return node explored.add(node.state) - frontier.extend(successor for successor in node.expand(pr...
s/successor/child/
hobson_aima
train
py
0adefe783bc13f50fbcca7c28eb47d4361cc3fb9
diff --git a/examples/fib/wasm/js/index.js b/examples/fib/wasm/js/index.js index <HASH>..<HASH> 100644 --- a/examples/fib/wasm/js/index.js +++ b/examples/fib/wasm/js/index.js @@ -1,5 +1,5 @@ import { JsByteStorage} from 'prototty-wasm-storage-js'; -const wasm = import('../wasm_out/web'); +const wasm = import('../wasm_...
Fix crate name in fib wasm example
stevebob_prototty
train
js
2740a7fb8bbf235310fd820582b10d7d29363cf6
diff --git a/php/WP_CLI/REPL.php b/php/WP_CLI/REPL.php index <HASH>..<HASH> 100644 --- a/php/WP_CLI/REPL.php +++ b/php/WP_CLI/REPL.php @@ -21,7 +21,13 @@ class REPL { $line = rtrim( $line, ';' ) . ';'; if ( self::starts_with( self::non_expressions(), $line ) ) { + ob_start(); eval( $line ); + $out ...
always include a newline after non-null eval output
wp-cli_shell-command
train
php
921fe194bf5df616a747e78c2b6ee3e12481e706
diff --git a/app/models/concerns/searchable_post.rb b/app/models/concerns/searchable_post.rb index <HASH>..<HASH> 100644 --- a/app/models/concerns/searchable_post.rb +++ b/app/models/concerns/searchable_post.rb @@ -19,7 +19,7 @@ module SearchablePost indexes :categories, :analyzer => :keyword, :as => 'cat...
Use SOC code for Post/Industry mapping
cortex-cms_cortex
train
rb
36a6178ab5ffab94c0a1718ad4bcd47abf536808
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,14 @@ import os import shutil from setuptools import setup, find_packages -from txtorcon import __version__, __author__, __contact__, __copyright__, __license__, __url__ +## can't just naively import these from txt...
change where setup.py gets information from
meejah_txtorcon
train
py,py
55446d29be48a92710d34d41632d6279f7a9dbe6
diff --git a/master/buildbot/process/buildrequest.py b/master/buildbot/process/buildrequest.py index <HASH>..<HASH> 100644 --- a/master/buildbot/process/buildrequest.py +++ b/master/buildbot/process/buildrequest.py @@ -118,6 +118,18 @@ class TempSourceStamp(object): return result +class TempChange(object):...
populate the sourcestamp change list Some build step are needing change properties to be mixed in build properties
buildbot_buildbot
train
py
0ea9d94c152379eac4a2f8bc31ce2ff466fb8838
diff --git a/tests/integration/array/reverse-test.js b/tests/integration/array/reverse-test.js index <HASH>..<HASH> 100644 --- a/tests/integration/array/reverse-test.js +++ b/tests/integration/array/reverse-test.js @@ -31,6 +31,17 @@ test('it calls reverse on array', function(assert) { }); }); +test('it doesn\'t ...
verify reverse doesn't mutate array
kellyselden_ember-awesome-macros
train
js
e2df00d1d92acda2ba416367a831f8e2dc0d090e
diff --git a/source/git-promise.js b/source/git-promise.js index <HASH>..<HASH> 100644 --- a/source/git-promise.js +++ b/source/git-promise.js @@ -271,7 +271,7 @@ git.binaryFileContent = (repoPath, filename, version, outPipe) => { } git.diffFile = (repoPath, filename, sha1, ignoreWhiteSpace) => { - const newFileDi...
git doesn't like "--" for new file diffs...
FredrikNoren_ungit
train
js
e9a3ec52b6bbbcaf47709117c39d27196a16eb0c
diff --git a/lib/clenver/repository.rb b/lib/clenver/repository.rb index <HASH>..<HASH> 100644 --- a/lib/clenver/repository.rb +++ b/lib/clenver/repository.rb @@ -5,15 +5,19 @@ class Repository @repo_uri = repo @dst = dst @abs_path = nil + @repo = nil end def clone repo_basename = File.ba...
add_remote support in Repository class
pietrushnic_clenver
train
rb
c4d1f071080c10875293b65f67ea04c7779906f5
diff --git a/python/dllib/src/bigdl/dllib/keras/engine/topology.py b/python/dllib/src/bigdl/dllib/keras/engine/topology.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/keras/engine/topology.py +++ b/python/dllib/src/bigdl/dllib/keras/engine/topology.py @@ -190,7 +190,7 @@ class KerasNet(ZooKerasLayer)...
fix predict (#<I>)
intel-analytics_BigDL
train
py
9f846ad2d737e4e64dfe884498c364c104f8e9d0
diff --git a/niftypet/nimpa/prc/prc.py b/niftypet/nimpa/prc/prc.py index <HASH>..<HASH> 100644 --- a/niftypet/nimpa/prc/prc.py +++ b/niftypet/nimpa/prc/prc.py @@ -448,7 +448,7 @@ def pvc_iyang( #if affine transf. (faff) is given then take the T1 and resample it too. if isinstance(faff, basestring) and not os....
fixed bug with new registration in prc.py in nimpa
pjmark_NIMPA
train
py,py
da586f947c2d28c92bdc23fc4cd83cc27e15ff8f
diff --git a/bigquery.js b/bigquery.js index <HASH>..<HASH> 100644 --- a/bigquery.js +++ b/bigquery.js @@ -21,6 +21,7 @@ var assert = require('assert'); var async = require('async'); var Dataset = require('../lib/bigquery/dataset'); +var Table = require('../lib/bigquery/table'); var env = require('./env'); var fs ...
bigquery: implemented streamrouter in dataset updated unit and system tests added a bit more documentation
googleapis_nodejs-bigquery
train
js
6f40e31766c2fe378d31369d7b2b4c9535f5cb24
diff --git a/examples/pytorch/language-modeling/run_clm_no_trainer.py b/examples/pytorch/language-modeling/run_clm_no_trainer.py index <HASH>..<HASH> 100755 --- a/examples/pytorch/language-modeling/run_clm_no_trainer.py +++ b/examples/pytorch/language-modeling/run_clm_no_trainer.py @@ -14,7 +14,7 @@ # See the License ...
Fix comment in run_clm_no_trainer.py (#<I>)
huggingface_pytorch-pretrained-BERT
train
py
d21bd9249b50fead8843d6b326b189ea898874b9
diff --git a/azure-eventhubs/src/main/java/com/microsoft/azure/servicebus/MessageSender.java b/azure-eventhubs/src/main/java/com/microsoft/azure/servicebus/MessageSender.java index <HASH>..<HASH> 100644 --- a/azure-eventhubs/src/main/java/com/microsoft/azure/servicebus/MessageSender.java +++ b/azure-eventhubs/src/main/...
add code reference to issue#<I>
Azure_azure-sdk-for-java
train
java
fb1e86ca5d3b0c2f961ddf09523473e744d91325
diff --git a/lib/rest-ftp-daemon/remote.rb b/lib/rest-ftp-daemon/remote.rb index <HASH>..<HASH> 100644 --- a/lib/rest-ftp-daemon/remote.rb +++ b/lib/rest-ftp-daemon/remote.rb @@ -14,7 +14,7 @@ module RestFtpDaemon @url.user ||= "anonymous" # Annnounce object - log_info "Remote.initialize [#{url.to_...
Rubocop: alignments, redundant use of Object#to_s in interpolation
bmedici_rest-ftp-daemon
train
rb,rb
d7c827ed0ce9d171ef5dbd555ac6e7c5c1dc4196
diff --git a/tools/c7n_azure/c7n_azure/filters.py b/tools/c7n_azure/c7n_azure/filters.py index <HASH>..<HASH> 100644 --- a/tools/c7n_azure/c7n_azure/filters.py +++ b/tools/c7n_azure/c7n_azure/filters.py @@ -113,8 +113,8 @@ class MetricFilter(Filter): 'average': Math.mean, 'total': Math.sum, '...
azure - metrics filter - fix aggregation funcs (#<I>)
cloud-custodian_cloud-custodian
train
py
cc82286aa115f6fb4034f9c664bc7d91d05bf32c
diff --git a/v2client/src/test/java/com/yubico/client/v2/YubicoClientTest.java b/v2client/src/test/java/com/yubico/client/v2/YubicoClientTest.java index <HASH>..<HASH> 100644 --- a/v2client/src/test/java/com/yubico/client/v2/YubicoClientTest.java +++ b/v2client/src/test/java/com/yubico/client/v2/YubicoClientTest.java @...
Added missing @Test to test method
Yubico_yubico-java-client
train
java
70647448ce4e82775132e8acfc8ee70be85cb7ee
diff --git a/src/com/google/javascript/jscomp/NodeUtil.java b/src/com/google/javascript/jscomp/NodeUtil.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/NodeUtil.java +++ b/src/com/google/javascript/jscomp/NodeUtil.java @@ -2546,7 +2546,7 @@ public final class NodeUtil { static final Predicate...
Small correction: Module bodies are also scope roots. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
0fc3d41d2dc5167adbb470b0fd073f494521e642
diff --git a/pyphi/connectivity.py b/pyphi/connectivity.py index <HASH>..<HASH> 100644 --- a/pyphi/connectivity.py +++ b/pyphi/connectivity.py @@ -78,7 +78,7 @@ def block_cm(cm): For example, the following connectivity matrix represents connections from ``nodes1 = A, B, C`` to ``nodes2 = D, E, F, G`` (witho...
Fix code style in `connectivity`
wmayner_pyphi
train
py
9e733c26a5a4c4d04c4c8ed3359eb812fa37b6f6
diff --git a/SafeMarkup.php b/SafeMarkup.php index <HASH>..<HASH> 100644 --- a/SafeMarkup.php +++ b/SafeMarkup.php @@ -169,6 +169,13 @@ class SafeMarkup { * * @ingroup sanitization * + * @deprecated Will be removed before Drupal 8.0.0. Rely on Twig's + * auto-escaping feature, or use the @link theme_r...
Issue #<I> by stefan.r, cilefen, alexpott, plach: Deprecate SafeMarkup::checkPlain() for Drupal <I>.x
drupal_core-utility
train
php
cf47927d3a9760ca878c361f87ea1cf1aa1b4cca
diff --git a/littletable.py b/littletable.py index <HASH>..<HASH> 100644 --- a/littletable.py +++ b/littletable.py @@ -777,10 +777,7 @@ class Table(object): val = fn(rec) except Exception: val = default - if isinstance(rec, DataObject): - obje...
Fix compute to handle namedtuple records correctly. Fixed demo code to use _orderby instead of deprecated _orderbydesc
ptmcg_littletable
train
py
ba3b1d8524d41772087ff1ca924101c4c1f5e638
diff --git a/src/edu/jhu/hltcoe/data/DepTree.java b/src/edu/jhu/hltcoe/data/DepTree.java index <HASH>..<HASH> 100644 --- a/src/edu/jhu/hltcoe/data/DepTree.java +++ b/src/edu/jhu/hltcoe/data/DepTree.java @@ -121,13 +121,10 @@ public class DepTree implements Iterable<DepTreeNode> { private void addParentChildLinksTo...
Bug fix: wasn't adding child to wall node git-svn-id: svn+ssh://external.hltcoe.jhu.edu/home/hltcoe/mgormley/public/repos/dep_parse_filtered/trunk@<I> <I>f-cb4b-<I>-8b<I>-c<I>bcb<I>
mgormley_pacaya
train
java
3474a31345597eaa5e1b6f22e263f33959d0a335
diff --git a/tilequeue/process.py b/tilequeue/process.py index <HASH>..<HASH> 100644 --- a/tilequeue/process.py +++ b/tilequeue/process.py @@ -72,9 +72,14 @@ def _postprocess_data(feature_layers, post_process_data): for index, feature_layer in enumerate(feature_layers): layer_datum = featu...
Fix bug where post-processing would only replace existing layers, not add new ones.
tilezen_tilequeue
train
py
686286e7fa6051b0a63d4d8eaa13a4e5e341d1fd
diff --git a/test/visible.js b/test/visible.js index <HASH>..<HASH> 100644 --- a/test/visible.js +++ b/test/visible.js @@ -2,10 +2,11 @@ describe('asking if a visible div scrolled', function() { var scrolled = false; var test = createTest(); - before(function() { + before(function(done) { insertTest(test...
make visible test async While the callback is immediately called because element is immediately visible, it must be/could be async
vvo_in-viewport
train
js
19e0609e5e4dcc222b53a3730c4f9cdea65745b1
diff --git a/src/main/java/com/twilio/converter/DateConverter.java b/src/main/java/com/twilio/converter/DateConverter.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/twilio/converter/DateConverter.java +++ b/src/main/java/com/twilio/converter/DateConverter.java @@ -1,5 +1,6 @@ package com.twilio.converter; ...
Fix exception parsing rfc<I> dates for some locales, always use us locale
twilio_twilio-java
train
java
c65d4650a552c41ac24bbc24449fcaaf4052c996
diff --git a/src/Filesystems/GcsFilesystem.php b/src/Filesystems/GcsFilesystem.php index <HASH>..<HASH> 100644 --- a/src/Filesystems/GcsFilesystem.php +++ b/src/Filesystems/GcsFilesystem.php @@ -26,6 +26,7 @@ class GcsFilesystem implements Filesystem { $storageClient = new StorageClient([ 'proje...
Pass keyFilePath option to GCS client
backup-manager_backup-manager
train
php
ed494bb3ff688b066c72ec9c0c4ff1841739af8a
diff --git a/nsq/__init__.py b/nsq/__init__.py index <HASH>..<HASH> 100644 --- a/nsq/__init__.py +++ b/nsq/__init__.py @@ -17,4 +17,4 @@ except ImportError: # pragma: no cover import json # The current version -__version__ = '0.1.8' +__version__ = '0.1.9' diff --git a/setup.py b/setup.py index <HASH>..<HASH> 1...
Correctly pin url dependency to <<I>
dlecocq_nsq-py
train
py,py
d04ebb5ebf3ff8f6316224ab517caf2c6175b0b7
diff --git a/ontrack-web/src/app/view/view.search.js b/ontrack-web/src/app/view/view.search.js index <HASH>..<HASH> 100644 --- a/ontrack-web/src/app/view/view.search.js +++ b/ontrack-web/src/app/view/view.search.js @@ -66,17 +66,24 @@ angular.module('ot.view.search', [ // Search type let type ...
#<I> When launching a NEW search, erase previous results
nemerosa_ontrack
train
js
4b8064786f417a010e50de094219b68ce4268c51
diff --git a/lib/social_snippet/resolvers/dep_resolver.rb b/lib/social_snippet/resolvers/dep_resolver.rb index <HASH>..<HASH> 100644 --- a/lib/social_snippet/resolvers/dep_resolver.rb +++ b/lib/social_snippet/resolvers/dep_resolver.rb @@ -49,7 +49,7 @@ module SocialSnippet :context => new_context, }...
dep_resolver: normalize String.lines() to Array
social-snippet_social-snippet
train
rb
38735117af08becd1f28dd24efff562b66e8498d
diff --git a/classes/PodsAPI.php b/classes/PodsAPI.php index <HASH>..<HASH> 100644 --- a/classes/PodsAPI.php +++ b/classes/PodsAPI.php @@ -5046,6 +5046,11 @@ class PodsAPI { $wpdb->query( "DELETE FROM `{$wpdb->options}` WHERE `option_name` LIKE '_transient_pods_%'" ); + if ( in_array( $pod[ 'type' ]...
Also flush rewrite rules when flushing a cache for posts and taxonomies.
pods-framework_pods
train
php
328f0e45efe51d2beeb4422d77dd6364a07ffe2a
diff --git a/pyusps/address_information.py b/pyusps/address_information.py index <HASH>..<HASH> 100644 --- a/pyusps/address_information.py +++ b/pyusps/address_information.py @@ -2,7 +2,10 @@ import urllib2 import urllib from lxml import etree -from collections import OrderedDict +try: + from collections import ...
Adds support for python < <I>
thelinuxkid_pyusps
train
py,py
860edd6e1e05428fd103589de5f44c2e7eec564f
diff --git a/lib/pundit.rb b/lib/pundit.rb index <HASH>..<HASH> 100644 --- a/lib/pundit.rb +++ b/lib/pundit.rb @@ -243,7 +243,7 @@ protected else "permitted_attributes" end - params.require(param_key).permit(policy.public_send(method_name)) + params.require(param_key).permit(*policy.public_send(m...
Add splat lost in merge, it was fixed elabs/pundit#<I>, closes elabs/pundit#<I>
varvet_pundit
train
rb
02e7e96fac18129f0deb8bfb446339e203e94ac8
diff --git a/config/deploy.rb b/config/deploy.rb index <HASH>..<HASH> 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -54,7 +54,7 @@ namespace :deploy do on roles(:app) do %w(log tmp/pids tmp/cache tmp/sockets public/system public/assets).each do |path| execute "rm -rf #{release_path}/spec/...
update deploy to symlink dummy directories
wearefine_fae
train
rb
eb24b35c5708669841bbe1ca7c8dc2f012e0ca98
diff --git a/lib/capnotify.rb b/lib/capnotify.rb index <HASH>..<HASH> 100644 --- a/lib/capnotify.rb +++ b/lib/capnotify.rb @@ -49,7 +49,7 @@ module Capnotify # by default, the output should be: "STAGE APPNAME @ BRANCH" # override this to change the default behavior for capnotify.appname _cset(:capn...
yeah, probably shouldn't capitalize the appname
spikegrobstein_capnotify
train
rb
e161bab02981d30bcf0731bda4cdaf06802d48dc
diff --git a/lib/adhearsion/punchblock_plugin.rb b/lib/adhearsion/punchblock_plugin.rb index <HASH>..<HASH> 100644 --- a/lib/adhearsion/punchblock_plugin.rb +++ b/lib/adhearsion/punchblock_plugin.rb @@ -29,11 +29,11 @@ module Adhearsion end init :punchblock do - Initializer.init if Adhearsion.config[:p...
[CS] Cleanup access to config in punchblock plugin
adhearsion_adhearsion
train
rb
55bd401aea98bd37d986bd626889ee9afcffe8fd
diff --git a/src/openaccess_epub/main.py b/src/openaccess_epub/main.py index <HASH>..<HASH> 100755 --- a/src/openaccess_epub/main.py +++ b/src/openaccess_epub/main.py @@ -189,6 +189,7 @@ def batch_input(args): None, # Does not use custom image path batch=True) exc...
adding file name to batch_traceback collection, and providing a new method to refactor optional children
SavinaRoja_OpenAccess_EPUB
train
py,py
3fea31ba5d731ad803828bea0128f66f1e524cf8
diff --git a/services/config.js b/services/config.js index <HASH>..<HASH> 100644 --- a/services/config.js +++ b/services/config.js @@ -38,6 +38,10 @@ exports.init = function(callback) { return callback(err); } else { exports.decryptionKey = result; ...
Encrypted properties aren't getting decrypted properly in a single-server environment
BlueOakJS_blueoak-server
train
js
bb8db1e5a16dbc8b77e2b1b2138eea52ed330e14
diff --git a/websockets/protocol.py b/websockets/protocol.py index <HASH>..<HASH> 100644 --- a/websockets/protocol.py +++ b/websockets/protocol.py @@ -391,11 +391,8 @@ class WebSocketCommonProtocol(asyncio.StreamReaderProtocol): # Handle flow control automatically. yield from self.writer.drain...
Remove supefluous check. fail_connection() can now be called safely multiple times in parallel, solving the general problem, while this check only adressed an instance.
aaugustin_websockets
train
py
dd660c2e0397683ce34926042c68da1c07db351d
diff --git a/getgauge/static_loader.py b/getgauge/static_loader.py index <HASH>..<HASH> 100644 --- a/getgauge/static_loader.py +++ b/getgauge/static_loader.py @@ -16,8 +16,9 @@ def load_steps(content, file_name): if decorator.value.__str__() == 'step': steps = re.findall(r'[\'"](.*...
loading steps only if step_impl_dir exist.
getgauge_gauge-python
train
py,py
949f95b74a310017937af807457c613dbde14f54
diff --git a/core/client/src/test/java/alluxio/client/file/URIStatusTest.java b/core/client/src/test/java/alluxio/client/file/URIStatusTest.java index <HASH>..<HASH> 100644 --- a/core/client/src/test/java/alluxio/client/file/URIStatusTest.java +++ b/core/client/src/test/java/alluxio/client/file/URIStatusTest.java @@ -3...
[Alluxio-<I>] Add unit tests for URIStatus. Address comments on pull request-<I>-<I>-<I>
Alluxio_alluxio
train
java
2db366bd9eb3a9c3402d11f5ed9117e853873581
diff --git a/bitshares/wallet.py b/bitshares/wallet.py index <HASH>..<HASH> 100644 --- a/bitshares/wallet.py +++ b/bitshares/wallet.py @@ -339,12 +339,12 @@ class Wallet(): def getKeyType(self, account, pub): """ Get key type """ - if pub == account["options"]["memo_key"]: - ret...
[wallet] active keys have priority over memo keys
bitshares_python-bitshares
train
py
bd7058b6cfa344801e2502895430cf8742b84e73
diff --git a/benchexec/tools/coveriteam-verifier-validator.py b/benchexec/tools/coveriteam-verifier-validator.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/coveriteam-verifier-validator.py +++ b/benchexec/tools/coveriteam-verifier-validator.py @@ -30,7 +30,7 @@ class Tool(coveriteam.Tool): task, {IL...
Moved to regex match instead of startswith, removed unnecessary list comprehension
sosy-lab_benchexec
train
py
0647ceee2f11b1817f93f6020bfcc929528eedcb
diff --git a/packages/input-select/src/Select.js b/packages/input-select/src/Select.js index <HASH>..<HASH> 100644 --- a/packages/input-select/src/Select.js +++ b/packages/input-select/src/Select.js @@ -148,7 +148,7 @@ class Select extends React.Component { ) : ( <Item label={item.label...
feat(Select): Use value to compose Item id
CraveFood_farmblocks
train
js
99a81442aae0f95d46e01f3e63da6186c0c90c65
diff --git a/src/progress.js b/src/progress.js index <HASH>..<HASH> 100644 --- a/src/progress.js +++ b/src/progress.js @@ -110,7 +110,7 @@ Progress.prototype.setText = function setText(text) { if (this._progressPath === null) throw new Error(DESTROYED_ERROR); if (this.text === null) { - this.text = t...
Fix bug where setting text without initial text definition failed
kimmobrunfeldt_progressbar.js
train
js
e9c3f9e36b249bc88032fc7b2fa717f58a64c235
diff --git a/lib/health-data-standards/import/cat1/lab_result_importer.rb b/lib/health-data-standards/import/cat1/lab_result_importer.rb index <HASH>..<HASH> 100644 --- a/lib/health-data-standards/import/cat1/lab_result_importer.rb +++ b/lib/health-data-standards/import/cat1/lab_result_importer.rb @@ -6,10 +6,6 @@ modu...
Removing a method that only called super
projectcypress_health-data-standards
train
rb
9e62a78da02e4e5f7193bafb0cddb66c966e10b6
diff --git a/examples/simple.go b/examples/simple.go index <HASH>..<HASH> 100644 --- a/examples/simple.go +++ b/examples/simple.go @@ -20,6 +20,11 @@ var qs = []*probe.Question{ } func main() { - answers := probe.Ask(qs) + answers, err := probe.Ask(qs) + if err != nil { + fmt.Println("\n", err.Error()) + return +...
ask no longer panics, just returns error
AlecAivazis_survey
train
go,go
a3b1f5a14e966eb15cccd70e1a02be51efde5845
diff --git a/intranet/apps/auth/backends.py b/intranet/apps/auth/backends.py index <HASH>..<HASH> 100644 --- a/intranet/apps/auth/backends.py +++ b/intranet/apps/auth/backends.py @@ -62,7 +62,8 @@ class KerberosAuthenticationBackend(object): return True else: logger.debug("Kerberos fa...
Check for env var before deleting it
tjcsl_ion
train
py
1f157c9d28d4f705f5f2a48cc93dad67683b9e5e
diff --git a/spyder/plugins/completion/plugin.py b/spyder/plugins/completion/plugin.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/completion/plugin.py +++ b/spyder/plugins/completion/plugin.py @@ -756,7 +756,8 @@ class CompletionPlugin(SpyderPluginV2): self.requests[req_id]['timed_out'] = True ...
Ensure that requests are only dispatched to servers that have a language available
spyder-ide_spyder
train
py
5379e5de58c7ba9db2c9b4070621ad2c95e8fb9f
diff --git a/client/state/sharing/keyring/selectors.js b/client/state/sharing/keyring/selectors.js index <HASH>..<HASH> 100644 --- a/client/state/sharing/keyring/selectors.js +++ b/client/state/sharing/keyring/selectors.js @@ -7,6 +7,11 @@ import { filter, values } from 'lodash'; /** + * Internal dependencies + */ ...
Unless the dependecy changed, we shouldn't change this selector's result
Automattic_wp-calypso
train
js
ba01c031c0630da041bb2f4922023e12b4684418
diff --git a/molgenis-omx-dataexplorer/src/main/java/org/molgenis/dataexplorer/controller/DataExplorerController.java b/molgenis-omx-dataexplorer/src/main/java/org/molgenis/dataexplorer/controller/DataExplorerController.java index <HASH>..<HASH> 100644 --- a/molgenis-omx-dataexplorer/src/main/java/org/molgenis/dataexpl...
remove unused searchservice + fix bug: error occurs when selecting "select..." in aggregates
molgenis_molgenis
train
java
b9f4e9f84b947a9dfa577087a5eb21cdd8789cf6
diff --git a/src/main/java/com/github/maven_nar/NarSystemMojo.java b/src/main/java/com/github/maven_nar/NarSystemMojo.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/maven_nar/NarSystemMojo.java +++ b/src/main/java/com/github/maven_nar/NarSystemMojo.java @@ -208,7 +208,7 @@ public class NarSystemMojo ...
Better "Windows" OS compatibility in native-lib-loader context. In Windows case, operating systems are started-with "Windows *". Instead of using ao.equals(), ao.startsWith() is suitable for deciding OS types in such a case.
maven-nar_nar-maven-plugin
train
java
97b9c41a56c067b92590c4816abf398bcae0a078
diff --git a/test/generator_test.rb b/test/generator_test.rb index <HASH>..<HASH> 100644 --- a/test/generator_test.rb +++ b/test/generator_test.rb @@ -1,4 +1,3 @@ -require 'minitest/unit' require 'minitest/autorun' require 'token_phrase'
change require order for minitest on <I>
genericsteele_token_phrase
train
rb
c4fd070115d0dec0bbd80215fd043768d7a7726d
diff --git a/presence.go b/presence.go index <HASH>..<HASH> 100644 --- a/presence.go +++ b/presence.go @@ -134,25 +134,19 @@ func LastIndexOf(in interface{}, elem interface{}) int { // Contains returns true if an element is present in a iteratee. func Contains(in interface{}, elem interface{}) bool { inValue := ref...
In 'Contains', save one comparison against reflect.Slice for Map that does not contain the key
thoas_go-funk
train
go
f5d18e2e86c0db3be6aeb4cfd7638d8f1d04b300
diff --git a/src/infi/docopt_completion/bash.py b/src/infi/docopt_completion/bash.py index <HASH>..<HASH> 100644 --- a/src/infi/docopt_completion/bash.py +++ b/src/infi/docopt_completion/bash.py @@ -48,8 +48,8 @@ class BashCompletion(CompletionGenerator): return SUBCOMMAND_SWITCH_TEMPLATE.format(level_num=leve...
fix bad bash reply (reported in issue #2)
Infinidat_infi.docopt_completion
train
py